summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-03-27 14:58:02 +0000
committerMichael Williamson <mike@zwobble.org>2014-03-27 14:58:02 +0000
commit30236682bfe220c79c4fdc0bea66f2f0e06f1fd4 (patch)
tree744401d5d3c85c1a938f1c38df188a80e85496b7 /tests
parent72f52a18069c2a04b9cb8bbe6f5185fe4c384be1 (diff)
Rename raw_output to text_output
Diffstat (limited to 'tests')
-rw-r--r--tests/jq_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/jq_tests.py b/tests/jq_tests.py
index daa7f85..c7ffd01 100644
--- a/tests/jq_tests.py
+++ b/tests/jq_tests.py
@@ -30,18 +30,18 @@ def input_string_is_parsed_to_json_if_raw_input_is_true():
@istest
-def output_is_serialised_to_json_string_if_raw_output_is_true():
+def output_is_serialised_to_json_string_if_text_output_is_true():
assert_equal(
'"42"',
- jq(".").transform("42", raw_output=True)
+ jq(".").transform("42", text_output=True)
)
@istest
-def elements_in_raw_output_are_separated_by_newlines():
+def elements_in_text_output_are_separated_by_newlines():
assert_equal(
"1\n2\n3",
- jq(".[]").transform([1, 2, 3], raw_output=True)
+ jq(".[]").transform([1, 2, 3], text_output=True)
)