Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 09a51a4

Browse files
committed
tests: added normalizer test
1 parent 9068d38 commit 09a51a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/LengthTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static function provideRuleSuccessConditionData(): \Generator
6060
yield 'exact constraint' => [new Length(min: 5, max: 5), $value];
6161
yield 'charset' => [new Length(min: 1, charset: 'ISO-8859-1'), $value];
6262
yield 'count unit' => [new Length(min: 4, max: 4, countUnit: 'bytes'), '🔥'];
63+
yield 'normalizer' => [new Length(max: 5, normalizer: 'trim'), 'abcde '];
6364
yield 'stringable' => [new Length(min: 4), 12345];
6465
}
6566

0 commit comments

Comments
 (0)