From 93d4de150eb94b467b31fbcc0700c30ed1ffcd6c Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 19 Jul 2006 18:58:06 +0000 Subject: [PATCH] - MFH: fix tests, libxml 2.6.24 and up adds a new line after a processing instruction (PI) --- ext/xmlwriter/tests/009.phpt | 8 +++++--- ext/xmlwriter/tests/OO_009.phpt | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ext/xmlwriter/tests/009.phpt b/ext/xmlwriter/tests/009.phpt index 9c00fe7b0e4..002916ff10a 100644 --- a/ext/xmlwriter/tests/009.phpt +++ b/ext/xmlwriter/tests/009.phpt @@ -8,7 +8,9 @@ if (!function_exists("xmlwriter_start_comment")) die("skip: libxml2 2.6.7+ requi --FILE-- ---EXPECT-- +--EXPECTF-- - + %w &"]]> diff --git a/ext/xmlwriter/tests/OO_009.phpt b/ext/xmlwriter/tests/OO_009.phpt index aa3e95596f7..c874f3e4ef8 100644 --- a/ext/xmlwriter/tests/OO_009.phpt +++ b/ext/xmlwriter/tests/OO_009.phpt @@ -7,7 +7,9 @@ if (!extension_loaded("xmlwriter")) die("skip"); --FILE-- openMemory(); $xw->setIndent(TRUE); @@ -32,12 +34,12 @@ $xw->endDocument(); $output = $xw->flush(true); print $output; ?> ---EXPECT-- +--EXPECTF-- - + %w &"]]>