Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit932dbd2

Browse files
minor#27243 [Config] Fix tests when path contains UTF chars (ostrolucky)
This PR was merged into the 3.4 branch.Discussion----------[Config] Fix tests when path contains UTF chars| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Commits-------b2a97ea [Config] Fix tests when path contains UTF chars
2 parents4c38b4d +b2a97ea commit932dbd2

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 ".+" is not valid\./',$e->getMessage());
5959
}
6060

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp