minor #15632 [VarDumper] Windows compat for SplCasterTest (nicolas-grekas)

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
This commit is contained in:
Nicolas Grekas 2015-08-27 15:32:59 +02:00
commit f3b4fb0c3d
1 changed files with 7 additions and 7 deletions

View File

@ -23,12 +23,12 @@ class SplCasterTest extends VarDumperTestCase
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
@ -79,12 +79,12 @@ EOTXT
$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
@ -100,7 +100,7 @@ SplFileObject {
file: true
dir: false
link: false
csvControl: array:2 [
%AcsvControl: array:2 [
0 => ","
1 => """
]