diff --git a/src/Pluf/Tests/TemplateCompiler/BlockTrans.php b/src/Pluf/Tests/TemplateCompiler/BlockTrans.php
index 54f099d..f7e88d5 100644
--- a/src/Pluf/Tests/TemplateCompiler/BlockTrans.php
+++ b/src/Pluf/Tests/TemplateCompiler/BlockTrans.php
@@ -33,7 +33,7 @@ class Pluf_Tests_TemplateCompiler_BlockTrans extends UnitTestCase {
$block = '
{blocktrans}This email {$email} is already registered. If you forgot your password, you can recover it easily.{/blocktrans}';
$compiler = new Pluf_Template_Compiler('dummy', array(), false);
$compiler->templateContent = $block;
- $this->assertEqual('This email %%email%% is already registered. If you forgot your password, you can recover it easily. Pluf_Template_safeEcho($t->_vars[\'email\'], false)))); ?>',
+ $this->assertEqual('This email %%email%% is already registered. If you forgot your password, you can recover it easily. Pluf_Template_safeEcho($t->_vars->email, false)))); ?>',
$compiler->getCompiledTemplate());
}
}
\ No newline at end of file