[Debug] fix test
This commit is contained in:
parent
c2f2fe518e
commit
df9bb2674e
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2004-2015 Fabien Potencier
|
Copyright (c) 2014-2015 Fabien Potencier
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -49,8 +49,8 @@ class DumpDataCollectorTest extends \PHPUnit_Framework_TestCase
|
|||||||
);
|
);
|
||||||
$this->assertSame($xDump, $dump);
|
$this->assertSame($xDump, $dump);
|
||||||
|
|
||||||
$this->assertStringStartsWith(
|
$this->assertStringMatchesFormat(
|
||||||
'a:1:{i:0;a:5:{s:4:"data";O:39:"Symfony\Component\VarDumper\Cloner\Data":4:{s:45:"Symfony\Component\VarDumper\Cloner\Datadata";a:1:{i:0;a:1:{i:0;i:123;}}s:49:"Symfony\Component\VarDumper\Cloner\DatamaxDepth";i:20;s:57:"Symfony\Component\VarDumper\Cloner\DatamaxItemsPerDepth";i:-1;s:54:"Symfony\Component\VarDumper\Cloner\DatauseRefHandles";i:-1;}s:4:"name";s:25:"DumpDataCollectorTest.php";s:4:"file";s:',
|
'a:1:{i:0;a:5:{s:4:"data";O:39:"Symfony\Component\VarDumper\Cloner\Data":4:{s:45:"Symfony\Component\VarDumper\Cloner\Datadata";a:1:{i:0;a:1:{i:0;i:123;}}s:49:"Symfony\Component\VarDumper\Cloner\DatamaxDepth";i:%i;s:57:"Symfony\Component\VarDumper\Cloner\DatamaxItemsPerDepth";i:%i;s:54:"Symfony\Component\VarDumper\Cloner\DatauseRefHandles";i:%i;}s:4:"name";s:25:"DumpDataCollectorTest.php";s:4:"file";s:%a',
|
||||||
str_replace("\0", '', $collector->serialize())
|
str_replace("\0", '', $collector->serialize())
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2004-2015 Fabien Potencier
|
Copyright (c) 2014-2015 Fabien Potencier
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -132,7 +132,7 @@ EOTXT
|
|||||||
|
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
<<<EOTXT
|
<<<EOTXT
|
||||||
array:2 [
|
array:3 [
|
||||||
0 => array:1 [
|
0 => array:1 [
|
||||||
0 => &1 array:1 [
|
0 => &1 array:1 [
|
||||||
0 => &1 array:1 [&1]
|
0 => &1 array:1 [&1]
|
||||||
@ -143,6 +143,7 @@ array:2 [
|
|||||||
"GLOBALS" => &2 array:1 [&2]
|
"GLOBALS" => &2 array:1 [&2]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
2 => &2 array:1 [&2]
|
||||||
]
|
]
|
||||||
|
|
||||||
EOTXT
|
EOTXT
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
{
|
{
|
||||||
"name": "Nicolas Grekas",
|
"name": "Nicolas Grekas",
|
||||||
"email": "p@tchwork.com"
|
"email": "p@tchwork.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "http://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
|
Reference in New Issue
Block a user