Skip to content

Commit

Permalink
minor #15632 [VarDumper] Windows compat for SplCasterTest (nicolas-gr…
Browse files Browse the repository at this point in the history
…ekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[VarDumper] Windows compat for SplCasterTest

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

d4a5ecb [VarDumper] Windows compat for SplCasterTest
  • Loading branch information
nicolas-grekas committed Aug 27, 2015
2 parents bab9ac5 + d4a5ecb commit f3b4fb0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
Expand Up @@ -23,12 +23,12 @@ public function getCastFileInfoTests()
return array(
array(__FILE__, <<<'EOTXT'
SplFileInfo {
%Apath: "%s/Tests/Caster"
%Apath: "%sCaster"
filename: "SplCasterTest.php"
basename: "SplCasterTest.php"
pathname: "%s/Tests/Caster/SplCasterTest.php"
pathname: "%sSplCasterTest.php"
extension: "php"
realPath: "%s/Tests/Caster/SplCasterTest.php"
realPath: "%sSplCasterTest.php"
aTime: %s-%s-%d %d:%d:%d
mTime: %s-%s-%d %d:%d:%d
cTime: %s-%s-%d %d:%d:%d
Expand Down Expand Up @@ -79,12 +79,12 @@ public function testCastFileObject()
$var->setFlags(\SplFileObject::DROP_NEW_LINE | \SplFileObject::SKIP_EMPTY);
$dump = <<<'EOTXT'
SplFileObject {
%Apath: "%s/Tests/Caster"
%Apath: "%sCaster"
filename: "SplCasterTest.php"
basename: "SplCasterTest.php"
pathname: "%s/Tests/Caster/SplCasterTest.php"
pathname: "%sSplCasterTest.php"
extension: "php"
realPath: "%s/Tests/Caster/SplCasterTest.php"
realPath: "%sSplCasterTest.php"
aTime: %s-%s-%d %d:%d:%d
mTime: %s-%s-%d %d:%d:%d
cTime: %s-%s-%d %d:%d:%d
Expand All @@ -100,7 +100,7 @@ public function testCastFileObject()
file: true
dir: false
link: false
csvControl: array:2 [
%AcsvControl: array:2 [
0 => ","
1 => """
]
Expand Down

0 comments on commit f3b4fb0

Please sign in to comment.