change revert

This commit is contained in:
idradm 2015-06-11 18:38:08 +02:00
parent 01a9e2cc13
commit dbe46fbd90

View file

@ -35,14 +35,14 @@ class XmlParserTest extends WikiaBaseTest {
* http://www.xmlsoft.org/html/libxml-xmlerror.html
*/
return [
// [
// '<data>d</dat/a>',
// [
// [ 'level' => LIBXML_ERR_FATAL, 'code' => 73, 'msg' => "expected '>'" ],
// [ 'level' => LIBXML_ERR_FATAL, 'code' => 76, 'msg' => "Opening and ending tag mismatch: data line 1 and dat" ],
// [ 'level' => LIBXML_ERR_FATAL, 'code' => 5, 'msg' => "Extra content at the end of the document" ],
// ]
// ],
[
'<data>d</dat/a>',
[
[ 'level' => LIBXML_ERR_FATAL, 'code' => 73, 'msg' => "expected '>'" ],
[ 'level' => LIBXML_ERR_FATAL, 'code' => 76, 'msg' => "Opening and ending tag mismatch: data line 1 and dat" ],
[ 'level' => LIBXML_ERR_FATAL, 'code' => 5, 'msg' => "Extra content at the end of the document" ],
]
],
[
'<data> x </data></data>',
[