From fc65ddd3c4effcc806d44a15f035dd17387f1132 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Thu, 30 Mar 2017 12:38:03 -0700 Subject: [PATCH] more specific version cutoff for type system rewrite julia PR 18457, merge commit 35b3470eb67f492d26c8ab9fa9e0af0c7c22a6ea --- test/border.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))