Skip to content

Commit af844dd

Browse files
authored
resolve encoding test (#57827)
1 parent ed28602 commit af844dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Validation/ValidationFileRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function testEncoding()
390390
public function testEncodingWithInvalidParameter()
391391
{
392392
$this->expectException(\InvalidArgumentException::class);
393-
$this->expectExceptionMessage('Validation rule encoding parameter "FOOBAR" is not a valid encoding.');
393+
$this->expectExceptionMessage('Validation rule encoding parameter [FOOBAR] is not a valid encoding.');
394394

395395
// Invalid encoding.
396396
$this->fails(

0 commit comments

Comments
 (0)