Skip to content

Commit a6467af

Browse files
committed
Fixed test skip
1 parent 36f05a8 commit a6467af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/dom/tests/bug76285.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
--TEST--
22
Bug #76285 DOMDocument::formatOutput attribute sometimes ignored
3+
--SKIPIF--
4+
<?php require_once('skipif.inc'); ?>
5+
<?php if (!defined("LIBXML_HTML_NOIMPLIED")) die("skip libxml2 2.7.7 required"); ?>
36
--FILE--
47
<?php
58

@@ -15,4 +18,4 @@ var_dump($dom->saveHTML());
1518
--EXPECT--
1619
string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
1720
string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
18-
"
21+
"

0 commit comments

Comments
 (0)