Skip to content

Commit 8402d3a

Browse files
authored
fix test
1 parent a7055b9 commit 8402d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tst_io.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ sombrero(x, y) = 30sinc(√(x^2 + y^2) / π)
6969
GC.enable(false)
7070
stats = @timed string(p; color = true) # repeated !
7171
@test stats.bytes / 1e3 < 500 # ~ 292kB on 1.11
72-
@test stats.time * 1e3 < margin * 0.8 # ~ 0.3ms on 1.11
72+
@test stats.time * 1e3 < 0.8 # ~ 0.3ms on 1.11
7373
GC.enable(true)
7474
end
7575
end
@@ -81,7 +81,7 @@ sombrero(x, y) = 30sinc(√(x^2 + y^2) / π)
8181
GC.enable(false)
8282
stats = @timed string(p; color = true) # repeated !
8383
@test stats.bytes / 1e3 < 160 # ~ 123kB on 1.11
84-
@test stats.time * 1e3 < margin * 0.5 # ~ 0.2ms on 1.11
84+
@test stats.time * 1e3 < 0.5 # ~ 0.2ms on 1.11
8585
GC.enable(true)
8686
end
8787
end

0 commit comments

Comments
 (0)