Skip to content

Commit c141bce

Browse files
committed
occursin instead of contains
1 parent 50d9a25 commit c141bce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,11 @@ end
603603
(SinSpace, "SinSpace"), (Laurent, "Laurent"), (Taylor, "Taylor")]
604604
sp = spT()
605605
str = repr(sp)
606-
@test contains(str, spstr)
606+
@test occursin(spstr, str)
607607
d = domain(sp)
608608
if d isa ApproxFunFourier.PeriodicSegment
609-
@test contains(str, repr(leftendpoint(d)))
610-
@test contains(str, repr(rightendpoint(d)))
609+
@test occursin(repr(leftendpoint(d)), str)
610+
@test occursin(repr(rightendpoint(d)), str)
611611
end
612612
end
613613
end

0 commit comments

Comments
 (0)