summaryrefslogtreecommitdiff
path: root/tests/jq_tests.py
diff options
context:
space:
mode:
authorlando <du33169@qq.com>2024-05-20 11:54:32 +0800
committerlando <du33169@qq.com>2024-05-20 16:42:19 +0800
commitf327b4c6584278c5206e720da9494006d20c94f4 (patch)
tree6e14f044a76a3244194436cf8db64a40032d18ef /tests/jq_tests.py
parentb98fcab20459cc2a8da32ed87679ddc249a3414b (diff)
add support for building wheel on windows (mingw)
Diffstat (limited to 'tests/jq_tests.py')
-rw-r--r--tests/jq_tests.py4
1 files changed, 4 insertions, 0 deletions
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 <top-level>, 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 <top-level>, 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 <top-level>, 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 <top-level>, line 1:\n!\njq: 1 compile error",
]
assert str(error) in expected_error_strs