Skip to content

Commit 922c4d7

Browse files
committed
Fix OutputFormat::checkOutputFormatIsValid
1 parent 75406e5 commit 922c4d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/OutputFormatTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function testInValidFormats(string $formatName): void
4444
$formatName = 'foo' . $formatName;
4545
$this->expectException(FormatNotFoundException::class);
4646
$this->expectExceptionMessage(
47-
'Error formatter "' . $formatName . '" not found.'
48-
. ' Available error formatters are: ' . $this->availablesFormats
47+
'Error formatter "' . $formatName . '" is not implemented. Available error formatters are: '
48+
. $this->availablesFormats
4949
);
5050
$this->assertTrue(OutputFormat::checkOutputFormatIsValid($formatName));
5151
}

0 commit comments

Comments
 (0)