Skip to content

Commit

Permalink
Fix expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
shaedrich authored Feb 8, 2025
1 parent 7cbcb57 commit daffcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Validation/ValidationRegExpRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function testNotRegExpRuleStringification()

#[TestWith(['/[a-z]/', ['i'], 'regex:/[a-z]/i'])]
#[TestWith(['/[a-z]/i', ['i'], 'regex:/[a-z]/i'])]
#[TestWith(['/[a-z]/g', ['i'], 'regex:/[a-z]/gi'])]
#[TestWith(['/[a-z]/g', ['i'], 'regex:/[a-z]/ig'])]
public function testRegExpRuleConstructorFlagsStringification(string $input, array $flags, string $output)
{
$rule = Rule::regex($input, $flags);
Expand Down

0 comments on commit daffcc2

Please sign in to comment.