Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 27, 2023
1 parent a17b0d1 commit aa55322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/exception/InvalidSeparatorException.php
Expand Up @@ -15,6 +15,6 @@ final class InvalidSeparatorException extends InvalidArgumentException implement
{
public function __construct()
{
parent::__construct('Separator must be a one single-byte character');
parent::__construct('Separator must be a single-byte character');
}
}
2 changes: 1 addition & 1 deletion tests/unit/ParserTest.php
Expand Up @@ -163,7 +163,7 @@ public function testRejectsInvalidSeparator(): void
$parser = new Parser;

$this->expectException(InvalidSeparatorException::class);
$this->expectExceptionMessage('Separator must be a one single-byte character');
$this->expectExceptionMessage('Separator must be a single-byte character');

$parser->setSeparator('..');
}
Expand Down

0 comments on commit aa55322

Please sign in to comment.