[VarDumper] Fix tests for HHVM
This commit is contained in:
parent
05f3c3db7b
commit
734fdbe702
@ -23,7 +23,7 @@ class SplCasterTest extends VarDumperTestCase
|
|||||||
return array(
|
return array(
|
||||||
array(__FILE__, <<<'EOTXT'
|
array(__FILE__, <<<'EOTXT'
|
||||||
SplFileInfo {
|
SplFileInfo {
|
||||||
path: "%s/Tests/Caster"
|
%Apath: "%s/Tests/Caster"
|
||||||
filename: "SplCasterTest.php"
|
filename: "SplCasterTest.php"
|
||||||
basename: "SplCasterTest.php"
|
basename: "SplCasterTest.php"
|
||||||
pathname: "%s/Tests/Caster/SplCasterTest.php"
|
pathname: "%s/Tests/Caster/SplCasterTest.php"
|
||||||
@ -49,7 +49,7 @@ EOTXT
|
|||||||
),
|
),
|
||||||
array('https://google.com/about', <<<'EOTXT'
|
array('https://google.com/about', <<<'EOTXT'
|
||||||
SplFileInfo {
|
SplFileInfo {
|
||||||
path: "https://google.com"
|
%Apath: "https://google.com"
|
||||||
filename: "about"
|
filename: "about"
|
||||||
basename: "about"
|
basename: "about"
|
||||||
pathname: "https://google.com/about"
|
pathname: "https://google.com/about"
|
||||||
@ -79,7 +79,7 @@ EOTXT
|
|||||||
$var->setFlags(\SplFileObject::DROP_NEW_LINE | \SplFileObject::SKIP_EMPTY);
|
$var->setFlags(\SplFileObject::DROP_NEW_LINE | \SplFileObject::SKIP_EMPTY);
|
||||||
$dump = <<<'EOTXT'
|
$dump = <<<'EOTXT'
|
||||||
SplFileObject {
|
SplFileObject {
|
||||||
path: "%s/Tests/Caster"
|
%Apath: "%s/Tests/Caster"
|
||||||
filename: "SplCasterTest.php"
|
filename: "SplCasterTest.php"
|
||||||
basename: "SplCasterTest.php"
|
basename: "SplCasterTest.php"
|
||||||
pathname: "%s/Tests/Caster/SplCasterTest.php"
|
pathname: "%s/Tests/Caster/SplCasterTest.php"
|
||||||
|
Reference in New Issue
Block a user