diff --git a/alxcheck/tests/test_general.py b/alxcheck/tests/test_general.py index 8644739..df29c01 100644 --- a/alxcheck/tests/test_general.py +++ b/alxcheck/tests/test_general.py @@ -3,7 +3,7 @@ from ..checks import ( check_file_present, check_file_not_empty, - check_file_ends_with_new_lines, + check_file_ends_with_new_line, ) @@ -26,11 +26,11 @@ def test_readme_not_empty_check(self): def test_files_with_new_line_check(self): f = open("file", "w") f.close() - self.assertFalse(check_file_ends_with_new_lines("file")) + self.assertFalse(check_file_ends_with_new_line("file")) f = open("file", "wb") f.write(b"line\n\n") f.close() - self.assertTrue(check_file_ends_with_new_lines("file")) + self.assertTrue(check_file_ends_with_new_line("file")) if __name__ == "__main__":