Skip to content

Commit 0acf77e

Browse files
committed
Properly fix tidy test failure on Windows
1 parent eb0a3da commit 0acf77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/tidy/tests/023.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "-------\n";
1313

1414
$tidy = new tidy();
1515
$tidy->parseString('<html><?php echo "xpto;" ?></html>');
16-
var_dump($tidy->value);
16+
var_dump(rtrim($tidy->value));
1717

1818
echo "-------\n";
1919

@@ -42,7 +42,7 @@ string(%d) "<html>
4242
</head>
4343
<body>
4444
</body>
45-
%s"
45+
</html>"
4646
-------
4747
bool(true)
4848
bool(true)

0 commit comments

Comments
 (0)