diff --git a/src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php b/src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
index 1a9feeebad..6fa01d954e 100644
--- a/src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
+++ b/src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php
@@ -46,7 +46,7 @@ class HtmlDumperTest extends \PHPUnit_Framework_TestCase
$dumpId = $dumpId[0];
$res = (int) $var['res'];
- $r = defined('HHVM_VERSION') ? '' : '#%d';
+ $r = defined('HHVM_VERSION') ? '' : '#%d';
$this->assertStringMatchesFormat(
<<array:24 [
@@ -79,7 +79,7 @@ class HtmlDumperTest extends \PHPUnit_Framework_TestCase
}
"closure" => Closure {{$r}
class: "Symfony\Component\VarDumper\Tests\HtmlDumperTest"
- this: HtmlDumperTest {#%d …}
+ this: HtmlDumperTest {{$r} …}
parameters: array:2 [
"\$a" => []
"&\$b" => array:2 [