Skip to content

Commit 38cb156

Browse files
committed
redo tests for v0.7 changes to Void
1 parent 5808e1b commit 38cb156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sleep(1)
1313
@test typeof(peek()) == Float64
1414

1515
if VERSION > v"0.7.0-"
16-
@test typeof(lap()) == Nothing
16+
@test sprint(showcompact, lap()) == "nothing"
1717
else
1818
@test typeof(lap()) == Void
1919
end
@@ -24,7 +24,7 @@ end
2424
tick()
2525

2626
if VERSION > v"0.7.0-"
27-
@test typeof(tock()) == Nothing
27+
@test sprint(showcompact, tock()) == "nothing"
2828
else
2929
@test typeof(tock()) == Void
3030
end

0 commit comments

Comments
 (0)