Skip to content

Commit

Permalink
[String] Use same alphabet for ByteString::fromRandom tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kerbert101 committed Feb 22, 2023
1 parent 5eada2d commit edac10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ByteStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testFromRandom()

self::assertSame(32, $random->length());
foreach ($random->chunk() as $char) {
self::assertNotNull((new ByteString('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'))->indexOf($char));
self::assertNotNull((new ByteString('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'))->indexOf($char));
}
}

Expand Down

0 comments on commit edac10d

Please # to comment.