diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-28 20:32:48 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-28 20:32:48 +0000 |
| commit | baebf75373301337ca8217e778d50b1d3d130f30 (patch) | |
| tree | 889aa0d3e7a1931c93c8ae737fa580ac947297cd /tests | |
| parent | a226d2a5f2b008692adc171b1152c5c87559937a (diff) | |
Build oniguruma during build
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/jq_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/jq_tests.py b/tests/jq_tests.py index 6220511..6084d91 100644 --- a/tests/jq_tests.py +++ b/tests/jq_tests.py @@ -24,6 +24,14 @@ def can_add_one_to_each_element_of_an_array(): @istest +def can_use_regexes(): + assert_equal( + True, + jq('test(".*")').transform("42") + ) + + +@istest def input_string_is_parsed_to_json_if_raw_input_is_true(): assert_equal( 42, |
