Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/var-dumper/Tests/Test/VarDumperTestTraitTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
19 use VarDumperTestTrait; | 19 use VarDumperTestTrait; |
20 | 20 |
21 public function testItComparesLargeData() | 21 public function testItComparesLargeData() |
22 { | 22 { |
23 $howMany = 700; | 23 $howMany = 700; |
24 $data = array_fill_keys(range(0, $howMany), array('a', 'b', 'c', 'd')); | 24 $data = array_fill_keys(range(0, $howMany), ['a', 'b', 'c', 'd']); |
25 | 25 |
26 $expected = sprintf("array:%d [\n", $howMany + 1); | 26 $expected = sprintf("array:%d [\n", $howMany + 1); |
27 for ($i = 0; $i <= $howMany; ++$i) { | 27 for ($i = 0; $i <= $howMany; ++$i) { |
28 $expected .= <<<EODUMP | 28 $expected .= <<<EODUMP |
29 $i => array:4 [ | 29 $i => array:4 [ |