Skip to content

Commit 9d74bbb

Browse files
committed
Fix test randomness
1 parent f1355f0 commit 9d74bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/copyable_task.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
end
218218

219219
@testset "Issue #185" begin
220-
g() = produce(randn() > 0 ? 2 : 0.1)
220+
g() = produce(rand() > -1.0 ? 2 : 0.1)
221221
@test Libtask.consume(Libtask.TapedTask(nothing, g)) == 2
222222
end
223223
end

0 commit comments

Comments
 (0)