nlopess Sat Apr 29 12:16:21 2006 UTC
Added files:
/php-src/ext/tidy/tests 019.phpt
Removed files:
/php-src/ext/tidy/tests tidy_019.phpt
Log:
rename test to follow the convention and expand it a little
http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tests/019.phpt?view=markup&rev=1.1
Index: php-src/ext/tidy/tests/019.phpt
+++ php-src/ext/tidy/tests/019.phpt
--TEST--
Test getParent()
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
$x = tidy_parse_string("<body><div>Content</div></body>");
var_dump($x->body()->child[0]->name);
var_dump($x->body()->child[0]->getParent()->name);
?>
--EXPECT--
string(3) "div"
string(4) "body"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php