From f939ea6b613ae8a09bf4c9d7c98fb3b919d748ee Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 19 Sep 2013 13:41:36 +0200 Subject: [PATCH] skipped a test on hhvm --- test/Twig/Tests/LexerTest.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/Twig/Tests/LexerTest.php b/test/Twig/Tests/LexerTest.php index 94b2538..a5ed8fd 100644 --- a/test/Twig/Tests/LexerTest.php +++ b/test/Twig/Tests/LexerTest.php @@ -141,6 +141,10 @@ class Twig_Tests_LexerTest extends PHPUnit_Framework_TestCase 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 }}'; $lexer = new Twig_Lexer(new Twig_Environment()); -- 1.7.2.5