diff --git a/tests/_files/source_without_newline.php b/tests/_files/source_without_newline.php new file mode 100644 index 000000000..7b04cff2b --- /dev/null +++ b/tests/_files/source_without_newline.php @@ -0,0 +1 @@ +assertEquals( + 1, + (new ParsingCoveredFileAnalyser(false, false))->linesOfCodeFor( + TEST_FILES_PATH . 'source_without_newline.php' + )->linesOfCode() + ); + } }