skipped a test on hhvm

This commit is contained in:
Fabien Potencier
2013-09-19 13:41:36 +02:00
parent cbbcd89206
commit f939ea6b61
+4
View File
@@ -141,6 +141,10 @@ class Twig_Tests_LexerTest extends PHPUnit_Framework_TestCase
public function testBigNumbers() public function testBigNumbers()
{ {
if ('hiphop' === substr(PHP_VERSION, -6)) {
$this->markTestSkipped('hhvm thinks that the number is actually a T_CONSTANT_ENCAPSED_STRING!');
}
$template = '{{ 922337203685477580700 }}'; $template = '{{ 922337203685477580700 }}';
$lexer = new Twig_Lexer(new Twig_Environment()); $lexer = new Twig_Lexer(new Twig_Environment());