Skip to content

Commit 40bb06d

Browse files
committed
fix bad tests
1 parent 9fbd135 commit 40bb06d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/channels.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ end
390390
t = Timer(0) do t
391391
tc[] += 1
392392
end
393+
Libc.systemsleep(0.005)
393394
@test isopen(t)
394395
Base.process_events()
395396
@test !isopen(t)
@@ -402,6 +403,7 @@ end
402403
t = Timer(0) do t
403404
tc[] += 1
404405
end
406+
Libc.systemsleep(0.005)
405407
@test isopen(t)
406408
close(t)
407409
@test !isopen(t)

test/reflection.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,6 @@ f18888() = nothing
507507
let
508508
world = Core.Compiler.get_world_counter()
509509
m = first(methods(f18888, Tuple{}))
510-
@test isempty(m.specializations)
511510
ft = typeof(f18888)
512511

513512
code_typed(f18888, Tuple{}; optimize=false)

0 commit comments

Comments
 (0)