Skip to content

Commit

Permalink
Update expected output in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Jun 2, 2019
1 parent 2b26007 commit 7a3c5ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_autoflake.py
Expand Up @@ -1362,7 +1362,7 @@ def test_check_with_empty_file(self):
autoflake._main(argv=['my_fake_program', '--check', filename],
standard_out=output_file,
standard_error=None)
self.assertEqual('No issues detected!', output_file.getvalue())
self.assertEqual('No issues detected!\n', output_file.getvalue())

def test_check_correct_file(self):
with temporary_file("""\
Expand All @@ -1374,7 +1374,7 @@ def test_check_correct_file(self):
autoflake._main(argv=['my_fake_program', '--check', filename],
standard_out=output_file,
standard_error=None)
self.assertEqual('No issues detected!', output_file.getvalue())
self.assertEqual('No issues detected!\n', output_file.getvalue())

def test_check_useless_pass(self):
with temporary_file("""\
Expand Down

0 comments on commit 7a3c5ca

Please sign in to comment.