Skip to content

Commit

Permalink
test tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Apr 18, 2022
1 parent cab770c commit 7abaab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/misc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function timev_macro_scope()
end
@test timev_macro_scope() == 1

before_comp, before_recomp = Base.cumulative_compile_time_ns_before();
before_comp, before_recomp = Base.cumulative_compile_time_ns_before()

# exercise concurrent calls to `@time` for reentrant compilation time measurement.
t1 = @async @time begin
Expand All @@ -347,7 +347,7 @@ t2 = @async begin
@time 2 + 2
end

after_comp, after_recomp = Base.cumulative_compile_time_ns_after();
after_comp, after_recomp = Base.cumulative_compile_time_ns_after()
@test after_comp >= before_comp;

# wait for completion of these tasks before restoring stdout, to suppress their @time prints.
Expand Down

0 comments on commit 7abaab3

Please sign in to comment.