pajoye Wed, 07 Sep 2011 10:14:18 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316318
Log: - force LF (svn prop and config) Changed paths: UU php/php-src/branches/PHP_5_3/ext/tidy/tests/010.phpt UU php/php-src/branches/PHP_5_3/ext/tidy/tests/012.phpt UU php/php-src/branches/PHP_5_3/ext/tidy/tests/024.phpt UU php/php-src/branches/PHP_5_3/ext/tidy/tests/025.phpt Modified: php/php-src/branches/PHP_5_3/ext/tidy/tests/010.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/tidy/tests/010.phpt 2011-09-07 10:14:02 UTC (rev 316317) +++ php/php-src/branches/PHP_5_3/ext/tidy/tests/010.phpt 2011-09-07 10:14:18 UTC (rev 316318) @@ -4,12 +4,12 @@ <?php if (!extension_loaded("tidy")) print "skip"; ?> --FILE-- <?php - $a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>"); - var_dump($a->root()); - var_dump($a->body()); - var_dump($a->html()); - var_dump($a->head()); - +$a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>", array('newline' => 'LF')); +var_dump($a->root()); +var_dump($a->body()); +var_dump($a->html()); +var_dump($a->head()); + ?> --EXPECT-- object(tidyNode)#2 (8) { Property changes on: php/php-src/branches/PHP_5_3/ext/tidy/tests/010.phpt ___________________________________________________________________ Modified: svn:eol-style - native + LF Modified: php/php-src/branches/PHP_5_3/ext/tidy/tests/012.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/tidy/tests/012.phpt 2011-09-07 10:14:02 UTC (rev 316317) +++ php/php-src/branches/PHP_5_3/ext/tidy/tests/012.phpt 2011-09-07 10:14:18 UTC (rev 316318) @@ -25,7 +25,7 @@ } - $a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000><B>Hi</B><I>Bye<U>Test</U></I></BODY></HTML>"); + $a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000><B>Hi</B><I>Bye<U>Test</U></I></BODY></HTML>", array('newline' => 'LF')); $html = $a->html(); dump_nodes($html); Property changes on: php/php-src/branches/PHP_5_3/ext/tidy/tests/012.phpt ___________________________________________________________________ Modified: svn:eol-style - native + LF Modified: php/php-src/branches/PHP_5_3/ext/tidy/tests/024.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/tidy/tests/024.phpt 2011-09-07 10:14:02 UTC (rev 316317) +++ php/php-src/branches/PHP_5_3/ext/tidy/tests/024.phpt 2011-09-07 10:14:18 UTC (rev 316318) @@ -18,7 +18,8 @@ </wps:block>'; $config = array( -'new-blocklevel-tags' => 'wps:block,wps:var,wps:value' +'new-blocklevel-tags' => 'wps:block,wps:var,wps:value', +'newline' => 'LF' ); $tidy = tidy_parse_string($contents, $config, 'utf8'); Property changes on: php/php-src/branches/PHP_5_3/ext/tidy/tests/024.phpt ___________________________________________________________________ Modified: svn:eol-style - native + LF Modified: php/php-src/branches/PHP_5_3/ext/tidy/tests/025.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/tidy/tests/025.phpt 2011-09-07 10:14:02 UTC (rev 316317) +++ php/php-src/branches/PHP_5_3/ext/tidy/tests/025.phpt 2011-09-07 10:14:18 UTC (rev 316318) @@ -5,16 +5,16 @@ --FILE-- <?php -$tidy=tidy_parse_string('<% %>'); +$tidy=tidy_parse_string('<% %>', array('newline' => 'LF')); var_dump($tidy->Root()->child[0]->isAsp()); -$tidy=tidy_parse_string('<# #>'); +$tidy=tidy_parse_string('<# #>', array('newline' => 'LF')); var_dump($tidy->Root()->child[0]->isJste()); $tidy=tidy_parse_string('<html><body>text</body></html>'); var_dump($tidy->Root()->child[0]->child[1]->child[0]->isText()); -$tidy=tidy_parse_string('<html><body><!-- comment --></body></html>'); +$tidy=tidy_parse_string('<html><body><!-- comment --></body></html>', array('newline' => 'LF')); $n = $tidy->Root()->child[0]->child[1]->child[0]; var_dump($n->isComment()); var_dump((string)$n); Property changes on: php/php-src/branches/PHP_5_3/ext/tidy/tests/025.phpt ___________________________________________________________________ Modified: svn:eol-style - native + LF
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php