Skip to content

Commit f44c0af

Browse files
authored
Top-level testset
1 parent bd266ce commit f44c0af

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

test/runtests.jl

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ using Dates, Test, Base64
33
using GitHub: Branch, name
44
using GitHub.Checks
55

6-
include("ghtype_tests.jl")
7-
include("event_tests.jl")
8-
include("read_only_api_tests.jl")
9-
include("auth_tests.jl")
6+
@testset "GitHub.jl" begin
7+
8+
include("ghtype_tests.jl")
9+
include("event_tests.jl")
10+
include("read_only_api_tests.jl")
11+
include("auth_tests.jl")
12+
13+
@testset "SSH keygen" begin
14+
pubkey, privkey = GitHub.genkeys(keycomment="GitHub.jl")
15+
@test endswith(pubkey, "GitHub.jl")
16+
@test isa(privkey, String)
17+
end
1018

11-
@testset "SSH keygen" begin
12-
pubkey, privkey = GitHub.genkeys(keycomment="GitHub.jl")
13-
@test endswith(pubkey, "GitHub.jl")
14-
@test isa(privkey, String)
1519
end

0 commit comments

Comments
 (0)