summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-06-19 21:51:44 +0100
committerMichael Williamson <mike@zwobble.org>2013-06-19 21:51:44 +0100
commita3860daac280214342f975546134124e4caece47 (patch)
tree12c17927071a65269d28d6dfaeff70b8a01d0af8 /tests
parent4f3541a12eb651fca537689bb14f22d7b4756da6 (diff)
Compile program immediately in jq()
Diffstat (limited to 'tests')
-rw-r--r--tests/jq_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jq_tests.py b/tests/jq_tests.py
index edc6cb4..fda18f4 100644
--- a/tests/jq_tests.py
+++ b/tests/jq_tests.py
@@ -62,4 +62,4 @@ def output_elements_are_separated_by_newlines_when_there_are_multiple_inputs():
@istest
def value_error_is_raised_if_program_is_invalid():
# TODO: should raise in just jq()
- assert_raises(ValueError, lambda: jq("!").transform_string("[1, 2, 3]"))
+ assert_raises(ValueError, lambda: jq("!"))