Skip to content

Commit 80a53ca

Browse files
committed
Slightly improve the test for seenkey
1 parent 62e196e commit 80a53ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_return.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module TestReturn
22

33
include("preamble.jl")
4-
using InteractiveCodeSearch: seenkey
4+
using InteractiveCodeSearch: seenkey, SeenKey
55

66
@testset "seenkey" begin
77
@testset for x in [
@@ -12,7 +12,7 @@ using InteractiveCodeSearch: seenkey
1212
Union{AbstractArray{T,1}, AbstractArray{T,2}} where T,
1313
Union{Int, Bool},
1414
]
15-
@test_nothrow seenkey(x)
15+
@test seenkey(x) isa SeenKey
1616
end
1717
end
1818

0 commit comments

Comments
 (0)