Skip to content

Commit 133fb58

Browse files
committed
fix tests so #57 goes away under v0.5
1 parent 46d5df9 commit 133fb58

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/runtests.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,12 @@ q = [3, p1]
173173
psum = p+3
174174
pprod = p*3
175175
pmin = p-3
176-
@test isa(psum, Vector{Poly{Float64}})
177-
@test isa(pprod,Vector{Poly{Float64}})
178-
@test isa(pmin, Vector{Poly{Float64}})
176+
all(map(eltype, psum) .== Float64)
177+
all(map(eltype, pprod) .== Float64)
178+
all(map(eltype, pmin) .== Float64)
179+
#@test isa(psum, Vector{Poly{Float64}}) ## work around #57 until #17389 gets into v0.5
180+
#@test isa(pprod,Vector{Poly{Float64}})
181+
#@test isa(pmin, Vector{Poly{Float64}})
179182

180183
## getindex with ranges #43
181184
p1 = Poly([4,5,6])

0 commit comments

Comments
 (0)