From 62b8b889fe81efebf228688f2750ef2721c846b8 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sat, 21 Dec 2019 20:58:50 -0800 Subject: [PATCH] Skip const-fold test in Julia 1.1 --- test/indexing.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/indexing.jl b/test/indexing.jl index 27fdfeb3..e9364916 100644 --- a/test/indexing.jl +++ b/test/indexing.jl @@ -230,27 +230,27 @@ using StaticArrays, Test x[2:end] end @test SVector_UnitRange() === SA[2, 3] - VERSION ≥ v"1.1" && @test_const_fold SVector_UnitRange() + VERSION ≥ v"1.2" && @test_const_fold SVector_UnitRange() function SVector_StepRange() x = SA[1, 2, 3, 4] x[1:2:end] end @test SVector_StepRange() === SA[1, 3] - VERSION ≥ v"1.1" && @test_const_fold SVector_StepRange() + VERSION ≥ v"1.2" && @test_const_fold SVector_StepRange() function SMatrix_UnitRange_UnitRange() x = SA[1 2 3; 4 5 6] x[1:2, 2:end] end @test SMatrix_UnitRange_UnitRange() === SA[2 3; 5 6] - VERSION ≥ v"1.1" && @test_const_fold SMatrix_UnitRange_UnitRange() + VERSION ≥ v"1.2" && @test_const_fold SMatrix_UnitRange_UnitRange() function SMatrix_StepRange_StepRange() x = SA[1 2 3; 4 5 6] x[1:1:2, 1:2:end] end @test SMatrix_StepRange_StepRange() === SA[1 3; 4 6] - VERSION ≥ v"1.1" && @test_const_fold SMatrix_StepRange_StepRange() + VERSION ≥ v"1.2" && @test_const_fold SMatrix_StepRange_StepRange() end end