From f327b4c6584278c5206e720da9494006d20c94f4 Mon Sep 17 00:00:00 2001 From: lando Date: Mon, 20 May 2024 11:54:32 +0800 Subject: add support for building wheel on windows (mingw) --- tests/jq_old_tests.py | 4 ++++ tests/jq_tests.py | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/jq_old_tests.py b/tests/jq_old_tests.py index 9393cce..1beafcf 100644 --- a/tests/jq_old_tests.py +++ b/tests/jq_old_tests.py @@ -79,6 +79,10 @@ def test_value_error_is_raised_if_program_is_invalid(): "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at , line 1:\n!\njq: 1 compile error", # jq 1.7 "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting end of file (Unix shell quoting issues?) at , line 1:\n!\njq: 1 compile error", + # jq 1.6 -win + "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Windows cmd shell quoting issues?) at , line 1:\n!\njq: 1 compile error", + # jq 1.7 -win + "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting end of file (Windows cmd shell quoting issues?) at , line 1:\n!\njq: 1 compile error", ] assert str(error) in expected_error_strs diff --git a/tests/jq_tests.py b/tests/jq_tests.py index 62b3ae0..81eb79b 100644 --- a/tests/jq_tests.py +++ b/tests/jq_tests.py @@ -199,6 +199,10 @@ def test_value_error_is_raised_if_program_is_invalid(): "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at , line 1:\n!\njq: 1 compile error", # jq 1.7 "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting end of file (Unix shell quoting issues?) at , line 1:\n!\njq: 1 compile error", + # jq 1.6 -win + "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Windows cmd shell quoting issues?) at , line 1:\n!\njq: 1 compile error", + # jq 1.7 -win + "jq: error: syntax error, unexpected INVALID_CHARACTER, expecting end of file (Windows cmd shell quoting issues?) at , line 1:\n!\njq: 1 compile error", ] assert str(error) in expected_error_strs -- cgit v1.2.3