Updating tests that got left behind when we changed to studlyCaps

and fixed another test
This commit is contained in:
John Coggeshall 2004-02-05 01:38:59 +00:00
parent e92f95346b
commit fac5939f42
4 changed files with 7 additions and 6 deletions

1
ext/tidy/tests/007.html Normal file
View File

@ -0,0 +1 @@
<B>testing</I>

View File

@ -6,7 +6,7 @@ Verbose tidy_setopt() / tidy_getopt()
tidy.default_config=
--FILE--
<?php
$a = new tidy();
$a = new tidy("ext/tidy/tests/007.html");
echo "Current Value of 'tidy-mark': ";
var_dump($a->getopt("tidy-mark"));
echo "Current Value of 'error-file': ";

View File

@ -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);

View File

@ -8,9 +8,9 @@ Parsing a file using constructor
--FILE--
<?php
$tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true));
$tidy->clean_repair();
$tidy->cleanRepair();
echo $tidy;
?>
--EXPECT--
<b>testing</b>
<b>testing</b>