Skip to content

Commit 58621bb

Browse files
committed
add more loops
1 parent 4738f20 commit 58621bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/StandardBasis.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ end
14581458

14591459
# Test different types work together
14601460
@testset for P₁ in Ps
1461-
for P₂ in Ps
1461+
@testset for P₂ in Ps
14621462
p₁, p₂ = P₁(rand(1:5, 4)), P₂(rand(1:5, 5))
14631463
p₁ + p₂
14641464
p₁ * p₂
@@ -1503,13 +1503,13 @@ end
15031503
@testset for P in Ps
15041504
P <: FactoredPolynomial && continue
15051505
if !isimmutable(P)
1506-
for T in (Int32, Int64, BigInt)
1506+
@testset for T in (Int32, Int64, BigInt)
15071507
p₁ = P{T}(Float64.(rand(1:3,5)))
15081508
@test typeof(p₁) == P{T,:x} # conversion works
15091509
@test_throws InexactError P{T}(rand(5))
15101510
end
15111511
else
1512-
for T in (Int32, Int64, BigInt)
1512+
@testset for T in (Int32, Int64, BigInt)
15131513
N = 5
15141514
p₁ = P{T}(Float64.(rand(1:3,5)))
15151515
@test typeof(p₁) == P{T,:x,5} # conversion works

0 commit comments

Comments
 (0)