Skip to content

Commit cbc99e3

Browse files
committed
Add test for Base.show.
1 parent a7ca4a0 commit cbc99e3

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/TagBot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,18 @@ on:
88
lookback:
99
default: 3
1010
permissions:
11+
actions: read
12+
checks: read
1113
contents: write
14+
deployments: read
15+
issues: read
16+
discussions: read
17+
packages: read
18+
pages: read
19+
pull-requests: read
20+
repository-projects: read
21+
security-events: read
22+
statuses: read
1223
jobs:
1324
TagBot:
1425
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
@@ -17,4 +28,6 @@ jobs:
1728
- uses: JuliaRegistries/TagBot@v1
1829
with:
1930
token: ${{ secrets.GITHUB_TOKEN }}
31+
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
2032
ssh: ${{ secrets.DOCUMENTER_KEY }}
33+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Webviews"
22
uuid = "b7e775b7-052a-4229-9250-fe08ae90f9c6"
33
authors = ["Sunoru <s@sunoru.com>"]
4-
version = "1.0.1"
4+
version = "1.0.2"
55

66
[deps]
77
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"

test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ using Webviews
1111
title="Test",
1212
debug=true
1313
)
14-
@test window_handle(webview) != C_NULL
14+
window = window_handle(webview)
15+
@test window != C_NULL
16+
@test string(webview) == "Webview (0 bindings): $window"
1517
resize!(webview, (320, 240))
1618
html = """<html><body><h1>Hello from Julia v$VERSION</h1></body></html>"""
1719
step = 0
@@ -50,5 +52,5 @@ using Webviews
5052
init!(webview, "run_test().catch(console.error)")
5153
navigate!(webview, "data:text/html,$(HTTP.escapeuri(html))")
5254
run(webview)
53-
@test Test.get_testset().n_passed == 7
55+
@test Test.get_testset().n_passed == 8
5456
end

0 commit comments

Comments
 (0)