diff options
Diffstat (limited to 'tests')
-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']); } |