Skip to content

Commit 684d897

Browse files
committed
adjust indentation in for loop, take 2 (tkelman)
1 parent c2a4a4e commit 684d897

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/random.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -551,14 +551,14 @@ let b = ['0':'9';'A':'Z';'a':'z']
551551
@test length(randstring(rng..., 20)) == 20
552552
@test issubset(randstring(rng...), b)
553553
for c = ['a':'z', "qwèrtï", Set(Vector{UInt8}("gcat"))],
554-
len = [8, 20]
555-
s = len == 8 ? randstring(rng..., c) : randstring(rng..., c, len)
556-
@test length(s) == len
557-
if eltype(c) == Char
558-
@test issubset(s, c)
559-
else # UInt8
560-
@test issubset(s, map(Char, c))
561-
end
554+
len = [8, 20]
555+
s = len == 8 ? randstring(rng..., c) : randstring(rng..., c, len)
556+
@test length(s) == len
557+
if eltype(c) == Char
558+
@test issubset(s, c)
559+
else # UInt8
560+
@test issubset(s, map(Char, c))
561+
end
562562
end
563563
end
564564
@test randstring(MersenneTwister(0)) == randstring(MersenneTwister(0), b)

0 commit comments

Comments
 (0)