From 57d132446933d48b18da125174c3ca2396ba1dfd Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 12 Dec 2017 15:51:18 +0100 Subject: Avoid using search::xy in ITools code --- tests/it_html.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/it_html.t b/tests/it_html.t index 9231010..dc039f7 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -183,7 +183,7 @@ is( 'empty tags removal' ); -foreach (search::json_decode(file_get_contents(dirname($argv[0]) . '/U_tests.json')) as $test) { +foreach (json_decode(file_get_contents(dirname($argv[0]) . '/U_tests.json'), true) as $test) { is(U(...$test['args']), $test['exp'], $test['name']); } -- cgit v1.2.3