Skip to content

Commit d0cd9d3

Browse files
authored
Add @testset to for loops in tests (#420)
* add `@testset` to for loops * add more loops
1 parent a563487 commit d0cd9d3

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

test/Poly.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ p2s = Poly([1], :s)
387387

388388
# test iteration
389389
p1 = Poly([1,2,0,3])
390-
for term in p1
390+
@testset for term in p1
391391
@test isa(term, Poly)
392392
end
393393

0 commit comments

Comments
 (0)