8000 [String] Use same alphabet for ByteString::fromRandom tests · symfony/symfony@d422ac1 · GitHub
[go: up one dir, main page]

Skip to content

Commit d422ac1

Browse files
committed
[String] Use same alphabet for ByteString::fromRandom tests
1 parent 492d077 commit d422ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/String/Tests/ByteStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testFromRandom()
2828

2929
self::assertSame(32, $random->length());
3030
foreach ($random->chunk() as $char) {
31-
self::assertNotNull((new ByteString('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'))->indexOf($char));
31+
self::assertNotNull((new ByteString('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'))->indexOf($char));
3232
}
3333
}
3434

0 commit comments

Comments
 (0)
0