summaryrefslogtreecommitdiff
path: root/test/it_html.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_html.t')
-rwxr-xr-xtest/it_html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/it_html.t b/test/it_html.t
index 5e19b74..f5daebd 100755
--- a/test/it_html.t
+++ b/test/it_html.t
@@ -175,7 +175,7 @@ is(
class myhtml extends it_html
{
-function myhtml($p = array())
+function __construct($p = array())
{
parent::__construct($p + ['moretags' => 'overriddentag,defaulttag', 'nonewlinetags' => 'a,b,defaulttag,em,img,input,overriddentag,span,div']);
}
@@ -253,7 +253,7 @@ is(
'empty tags removal'
);
-foreach (json_decode(file_get_contents(dirname($argv[0]) . '/U_tests.json'), true) as $test) {
+foreach (json_decode(it::file_get_contents(dirname($argv[0]) . '/U_tests.json'), true) as $test) {
is(U(...$test['args']), $test['exp'], $test['name']);
}