Skip to content

Commit aaecd3d

Browse files
committed
fix stdout test for newline values on Windows
1 parent 439fedd commit aaecd3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_main_run_unified_default_local_files_no_diff(capsys):
9898

9999
run(args)
100100
captured = capsys.readouterr()
101-
assert captured.out == f"[*] There is no difference between the files.{os.linesep}"
101+
assert captured.out.startswith("[*] There is no difference between the files.")
102102

103103

104104
def test_main_run_unified_default_local_files(capsys):

0 commit comments

Comments
 (0)