Skip to content

Commit bf1996f

Browse files
committed
Update runtests.jl
1 parent 40b5f7e commit bf1996f

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

test/runtests.jl

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,8 @@ end
9797
@test f[2.1] 2
9898

9999
@test @inferred(H'H) == @inferred(materialize(applied(*,H',H))) == Eye(2)
100-
if VERSION < v"1.6-"
101-
@test summary(f) == "(Spline{0,Float64,Array{$Int,1}}) * (2-element Array{$Int,1})"
102-
@test stringmime("text/plain", f) == "Spline{0,Float64,Array{$Int,1}} * [1, 2]"
103-
else
104-
@test summary(f) == "(HeavisideSpline{Float64, Vector{$Int}}) * (2-element Vector{$Int})"
105-
@test stringmime("text/plain", f) == "HeavisideSpline{Float64, Vector{$Int}} * [1, 2]"
106-
end
100+
@test summary(f) == "(HeavisideSpline{Float64, Vector{$Int}}) * (2-element Vector{$Int})"
101+
@test stringmime("text/plain", f) == "HeavisideSpline{Float64, Vector{$Int}} * [1, 2]"
107102
end
108103

109104
@testset "LinearSpline" begin
@@ -457,11 +452,7 @@ end
457452
H = HeavisideSpline([1,2,3,6])
458453
B = H[5x .+ 1,:]
459454
u = H * [1,2,3]
460-
if VERSION < v"1.6-"
461-
@test stringmime("text/plain", B) == "Spline{0,Float64,Array{$Int,1}} affine mapped to 0..1"
462-
else
463-
@test stringmime("text/plain", B) == "HeavisideSpline{Float64, Vector{$Int}} affine mapped to 0..1"
464-
end
455+
@test stringmime("text/plain", B) == "HeavisideSpline{Float64, Vector{$Int}} affine mapped to 0..1"
465456
end
466457
end
467458

0 commit comments

Comments
 (0)