MDL-38829 core: fix whitespace in xmlize test

This commit is contained in:
Jake Dallimore 2018-03-08 11:39:42 +08:00
parent f9628f871a
commit 8525d8466a
2 changed files with 1 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class core_xmlize_testcase extends basic_testcase {
public function test_xmlimport_of_wrong_file() {
$xml = file_get_contents(__DIR__ . '/sample_questions_wrong.xml');
$this->expectException('xml_format_exception');
$this->expectExceptionMessage('Error parsing XML: Mismatched tag at line 20, char 23');
$this->expectExceptionMessage('Error parsing XML: Mismatched tag at line 18, char 23');
$xmlnew = xmlize($xml, 1, "UTF-8", true);
}
}