We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d7df4 commit c2a4a4eCopy full SHA for c2a4a4e
test/random.jl
@@ -552,13 +552,13 @@ let b = ['0':'9';'A':'Z';'a':'z']
552
@test issubset(randstring(rng...), b)
553
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
+ s = len == 8 ? randstring(rng..., c) : randstring(rng..., c, len)
+ @test length(s) == len
+ if eltype(c) == Char
+ @test issubset(s, c)
+ else # UInt8
+ @test issubset(s, map(Char, c))
+ end
562
end
563
564
@test randstring(MersenneTwister(0)) == randstring(MersenneTwister(0), b)
0 commit comments