From baebf75373301337ca8217e778d50b1d3d130f30 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 28 Jan 2016 20:32:48 +0000 Subject: Build oniguruma during build --- tests/jq_tests.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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 @@ -23,6 +23,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( -- cgit v1.2.3