diff --git a/.gitignore b/.gitignore index 8ac56f2..3b7ea33 100755 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ sonar* junit-logfile.xml clover.xml composer.lock +my-layout.yaml *.cache .idea/ build/* \ No newline at end of file diff --git a/tests/PheadCommandTest.php b/tests/PheadCommandTest.php index f314351..8448ca4 100644 --- a/tests/PheadCommandTest.php +++ b/tests/PheadCommandTest.php @@ -23,7 +23,7 @@ public function testgenSample(): void $this->assertEquals(0, $tester->getStatusCode()); $tester = $this->executeCommand($command, $input); - $this->assertEquals('my-layout.yaml already exists. Replace current file?', $tester->getDisplay()); + $this->assertEquals(PHP_EOL . 'my-layout.yaml already exists. Replace the file?', $tester->getDisplay()); } // test HeadCommand