diff --git a/tests/system/CLI/CLITest.php b/tests/system/CLI/CLITest.php index a604cdb914d2..908d37368d71 100644 --- a/tests/system/CLI/CLITest.php +++ b/tests/system/CLI/CLITest.php @@ -676,9 +676,9 @@ public function testPrintKeysAndValues(): void CLI::printKeysAndValues($options); - $expected = ' [-c] Enable only config caching.' . PHP_EOL; - $expected .= ' [-l] Enable only locator caching.' . PHP_EOL; - $expected .= ' [-d] Disable config and locator caching.' . PHP_EOL; + $expected = ' [c] Enable only config caching.' . PHP_EOL; + $expected .= ' [l] Enable only locator caching.' . PHP_EOL; + $expected .= ' [d] Disable config and locator caching.' . PHP_EOL; $this->assertSame($this->getStreamFilterBuffer(), $expected); }