diff --git a/test/border.jl b/test/border.jl index c9c8020..7cf7174 100644 --- a/test/border.jl +++ b/test/border.jl @@ -141,7 +141,7 @@ using Base.Test @testset "Pad" begin @test Pad(:replicate,[1,2], [5,3]) == Pad(:replicate,(1,2), (5,3)) @test @inferred(Pad{2}(:replicate, [1,2], [5,3])) == Pad(:replicate,(1,2), (5,3)) - paderr = VERSION < v"0.6.0-alpha" ? TypeError : MethodError + paderr = VERSION <= v"0.6.0-dev.2123" ? TypeError : MethodError @eval @test_throws $paderr Pad{3}(:replicate, [1,2], [5,3]) @test @inferred(Pad(:circular)(rand(3,5))) == Pad(:circular, (0,0),(3,5)) @test @inferred(Pad(:circular)(centered(rand(3,5)))) == Pad{2}(:circular, (1,2),(1,2))