Skip to content

Commit 44bba5d

Browse files
Merge branch '5.0' into 5.1
* 5.0: [Bridge/Twig] Relax tests
2 parents ebd5a4b + 293e5f0 commit 44bba5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/Extension/DumpExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function testDump($context, $args, $expectedOutput, $debug = true)
8282
$this->assertStringStartsWith('<script>', $dump);
8383
$dump = preg_replace('/^.*?<pre/', '<pre', $dump);
8484
$dump = preg_replace('/sf-dump-\d+/', 'sf-dump', $dump);
85+
$dump = preg_replace('/<samp [^>]++>/', '<samp>', $dump);
8586
}
8687
$this->assertEquals($expectedOutput, $dump);
8788
}

0 commit comments

Comments
 (0)