Skip to content

Commit 475abd3

Browse files
Update test/strings/types.jl
Co-authored-by: Simeon David Schaub <simeon@schaub.rocks>
1 parent fd52f37 commit 475abd3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/strings/types.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,10 @@
203203
end
204204
end
205205

206-
@testset "proper nextind/prevind/thisind for SubString{String}" begin
207-
rng = MersenneTwister(1)
208-
strs = ["∀∃∀"*String(rand(rng, UInt8, 40))*"∀∃∀",
209-
String(rand(rng, UInt8, 50))]
210-
for s in strs
206+
rng = MersenneTwister(1)
207+
strs = ["∀∃∀"*String(rand(rng, UInt8, 40))*"∀∃∀",
208+
String(rand(rng, UInt8, 50))]
209+
@testset "proper nextind/prevind/thisind for SubString{String}: $(repr(s))" for s in strs
211210
a = 0
212211
while a <= ncodeunits(s)
213212
a = nextind(s, a)

0 commit comments

Comments
 (0)