Skip to content

Commit

Permalink
list -> generator
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Feb 19, 2024
1 parent ab347c9 commit b728151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cat_win/tests/test_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_cat_output_ends_and_tabs(self):
cat.holder.set_files([test_file_path])
cat.holder.set_args([(ARGS_ENDS, ''), (ARGS_CHR, '')]) #ends & char

check_against = ('\n'.join([c.replace('\t', '^TAB') + '$' for c in test_file_content]) +
check_against = ('\n'.join(c.replace('\t', '^TAB') + '$' for c in test_file_content) +
'\n')

with patch('cat_win.cat.sys.stdout', new=StdOutMock()) as fake_out:
Expand Down

0 comments on commit b728151

Please sign in to comment.