Skip to content

Commit d02166d

Browse files
authored
Merge pull request #16 from JuliaGraphics/fbot/deps
Fix deprecations
2 parents ec3d3d8 + a12a169 commit d02166d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/runtests.jl

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,11 @@ F = false
2828
2.0 sqrt(1 + 4) sqrt(4 + 4)
2929
]
3030

31-
if VERSION < v"0.4.0-dev"
32-
bitrand(x...) = randbool(x...)
33-
end
34-
3531

3632
a = sdf(bitrand(20,20), 10, 10)
3733
@test size(a) == (10,10)
3834
a = edf(bitrand(20,20), 10, 10)
3935
@test size(a) == (10,10)
4036

41-
if VERSION < v"0.4.0-dev"
42-
@test_throws ErrorException sdf(bitrand(20,20), 12, 10)
43-
@test_throws ErrorException edf(bitrand(20,20), 10, 12)
44-
else
45-
@test_throws AssertionError sdf(bitrand(20,20), 12, 10)
37+
@test_throws AssertionError sdf(bitrand(20,20), 12, 10)
4638
@test_throws AssertionError edf(bitrand(20,20), 10, 12)
47-
end

0 commit comments

Comments
 (0)