From: John Coggeshall Date: Thu, 5 Feb 2004 01:38:59 +0000 (+0000) Subject: Updating tests that got left behind when we changed to studlyCaps X-Git-Tag: php-5.0.0b4RC1~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fac5939f42b42a8b37fde405ad862fa6105090f8;p=php Updating tests that got left behind when we changed to studlyCaps and fixed another test --- diff --git a/ext/tidy/tests/007.html b/ext/tidy/tests/007.html new file mode 100644 index 0000000000..7dc0357779 --- /dev/null +++ b/ext/tidy/tests/007.html @@ -0,0 +1 @@ +testing diff --git a/ext/tidy/tests/007.phpt b/ext/tidy/tests/007.phpt index 4b419b56b5..ace934e774 100644 --- a/ext/tidy/tests/007.phpt +++ b/ext/tidy/tests/007.phpt @@ -6,7 +6,7 @@ Verbose tidy_setopt() / tidy_getopt() tidy.default_config= --FILE-- getopt("tidy-mark")); echo "Current Value of 'error-file': "; diff --git a/ext/tidy/tests/012.phpt b/ext/tidy/tests/012.phpt index f500019bf9..d4dfa2062e 100644 --- a/ext/tidy/tests/012.phpt +++ b/ext/tidy/tests/012.phpt @@ -10,14 +10,14 @@ Accessing children nodes function dump_nodes(tidy_node $node) { - var_dump($node->has_children()); - if($node->has_children()) { + var_dump($node->hasChildren()); + if($node->hasChildren()) { foreach($node->child as $c) { var_dump($c); - if($c->has_children()) { + if($c->hasChildren()) { dump_nodes($c); diff --git a/ext/tidy/tests/013.phpt b/ext/tidy/tests/013.phpt index 5db0ce1cd8..3b95782431 100644 --- a/ext/tidy/tests/013.phpt +++ b/ext/tidy/tests/013.phpt @@ -8,9 +8,9 @@ Parsing a file using constructor --FILE-- true)); - $tidy->clean_repair(); + $tidy->cleanRepair(); echo $tidy; ?> --EXPECT-- -testing \ No newline at end of file +testing