diff options
author | Christian Schneider | 2017-12-12 15:51:18 +0100 |
---|---|---|
committer | Christian Schneider | 2017-12-12 15:51:18 +0100 |
commit | 57d132446933d48b18da125174c3ca2396ba1dfd (patch) | |
tree | 28b4da90e44bba700610dfa6f9b2ca7fc738de58 | |
parent | 8395a13bee7968c88f1ac977f1751cca2fa5029a (diff) | |
download | itools-57d132446933d48b18da125174c3ca2396ba1dfd.tar.gz itools-57d132446933d48b18da125174c3ca2396ba1dfd.tar.bz2 itools-57d132446933d48b18da125174c3ca2396ba1dfd.zip |
Avoid using search::xy in ITools code
-rwxr-xr-x | tests/it_html.t | 2 |
1 files changed, 1 insertions, 1 deletions
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']); } |