8000 minor #26421 [Config] Add characters to the regex (DavidPrevot) · dunglas/symfony@ebfcab3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebfcab3

Browse files
committed
minor symfony#26421 [Config] Add characters to the regex (DavidPrevot)
This PR was merged into the 3.4 branch. Discussion ---------- [Config] Add characters to the regex | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Commits ------- dff88d4 [Config] Add characters to the regex
2 parents f77db05 + dff88d4 commit ebfcab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Tests/Util/XmlUtilsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testLoadFile()
5555
XmlUtils::loadFile($fixtures.'valid.xml', array($mock, 'validate'));
5656
$this->fail();
5757
} catch (\InvalidArgumentException $e) {
58-
$this->assertRegExp('/The XML file "[\w:\/\\\.-]+" is not valid\./', $e->getMessage());
58+
$this->assertRegExp('/The XML file "[\w:\/\\\.~+-]+" is not valid\./', $e->getMessage());
5959
}
6060

6161
$this->assertInstanceOf('DOMDocument', XmlUtils::loadFile($fixtures.'valid.xml', array($mock, 'validate')));

0 commit comments

Comments
 (0)
0