diff options
Diffstat (limited to 'ext/xmlwriter/tests/OO_003.phpt')
-rw-r--r-- | ext/xmlwriter/tests/OO_003.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/xmlwriter/tests/OO_003.phpt b/ext/xmlwriter/tests/OO_003.phpt index aa64b63e5f..ba1e7e177d 100644 --- a/ext/xmlwriter/tests/OO_003.phpt +++ b/ext/xmlwriter/tests/OO_003.phpt @@ -21,16 +21,14 @@ $xw->endAttribute(); $xw->text("Test text for tag1"); $res = $xw->startElement('tag2'); if ($res < 1) { - echo "StartElement context validation failed\n"; - exit(); + echo "StartElement context validation failed\n"; + exit(); } $xw->endDocument(); // Force to write and empty the buffer echo $xw->flush(true); ?> -===DONE=== --EXPECT-- <?xml version="1.0" encoding="UTF-8"?> <tag1 attr1="attr1_value" attr2="attr2_value">Test text for tag1<tag2/></tag1> -===DONE=== |