Skip to content

Commit 3f5f826

Browse files
committed
Test on windows
1 parent 1c2d16b commit 3f5f826

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_windows_encoding_regression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_cli_output_flag_with_unicode():
4747
assert "❌" in minified_content # Issue #113
4848
assert "✓" in minified_content # Issue #129
4949
assert "🐍" in minified_content # General emoji
50-
assert "Привет мир" in minified_content # Issue #123
50+
assert "Привет" in minified_content # Issue #123
5151
assert "©" in minified_content # Issue #59
5252
assert "∀" in minified_content # Mathematical symbols
5353

@@ -92,6 +92,7 @@ def test_cli_in_place_with_unicode():
9292
assert "🐍" in content
9393
assert "Привет" in content
9494
assert "©" in content
95+
assert "∀" in content
9596

9697
finally:
9798
if os.path.exists(temp_path):
@@ -124,6 +125,7 @@ def test_cli_stdout_works_with_unicode():
124125
assert "🐍" in result.stdout
125126
assert "Привет" in result.stdout
126127
assert "©" in result.stdout
128+
assert "∀" in result.stdout
127129

128130
finally:
129131
os.unlink(temp_path)

0 commit comments

Comments
 (0)