We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd8bae7b commit1749fbdCopy full SHA for 1749fbd
src/Symfony/Component/Config/Tests/Util/XmlUtilsTest.php
@@ -190,7 +190,7 @@ public function testLoadEmptyXmlFile()
190
$file =__DIR__.'/../Fixtures/foo.xml';
191
192
$this->expectException('InvalidArgumentException');
193
-$this->expectExceptionMessage(sprintf('File%s does not contain valid XML, it is empty.',$file));
+$this->expectExceptionMessage(sprintf('File"%s" does not contain valid XML, it is empty.',$file));
194
195
XmlUtils::loadFile($file);
196
}
@@ -211,7 +211,7 @@ public function testLoadWrongEmptyXMLWithErrorHandler()
211
212
$this->fail('An exception should have been raised');
213
}catch (\InvalidArgumentException$e) {
214
-$this->assertEquals(sprintf('File%s does not contain valid XML, it is empty.',$file),$e->getMessage());
+$this->assertEquals(sprintf('File"%s" does not contain valid XML, it is empty.',$file),$e->getMessage());
215
216
}finally {
217
restore_error_handler();