summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2017-12-12 15:51:18 +0100
committerChristian Schneider2017-12-12 15:51:18 +0100
commit57d132446933d48b18da125174c3ca2396ba1dfd (patch)
tree28b4da90e44bba700610dfa6f9b2ca7fc738de58
parent8395a13bee7968c88f1ac977f1751cca2fa5029a (diff)
downloaditools-57d132446933d48b18da125174c3ca2396ba1dfd.tar.gz
itools-57d132446933d48b18da125174c3ca2396ba1dfd.tar.bz2
itools-57d132446933d48b18da125174c3ca2396ba1dfd.zip
Avoid using search::xy in ITools code
-rwxr-xr-xtests/it_html.t2
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']);
}