From df334eacaa962391a5352c6988d4cdaee5d6b44a Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 26 Sep 2017 18:47:47 +0200 Subject: [PATCH] Add back commented test We're not testing HHVM anymore, and I've already fixed this bug upstream. --- test/PhpParser/ParserTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/PhpParser/ParserTest.php b/test/PhpParser/ParserTest.php index e8a750f..8fe5a67 100644 --- a/test/PhpParser/ParserTest.php +++ b/test/PhpParser/ParserTest.php @@ -157,9 +157,7 @@ EOC; ["b<<<'STR'\nSTR\n", ['kind' => String_::KIND_NOWDOC, 'docLabel' => 'STR']], ["B<<<'STR'\nSTR\n", ['kind' => String_::KIND_NOWDOC, 'docLabel' => 'STR']], ["<<< \t 'STR'\nSTR\n", ['kind' => String_::KIND_NOWDOC, 'docLabel' => 'STR']], - // HHVM doesn't support this due to a lexer bug - // (https://github.com/facebook/hhvm/issues/6970) - // array("<<<'\xff'\n\xff\n", ['kind' => String_::KIND_NOWDOC, 'docLabel' => "\xff"]), + ["<<<'\xff'\n\xff\n", ['kind' => String_::KIND_NOWDOC, 'docLabel' => "\xff"]], ["<<<\"STR\"\n\$a\nSTR\n", ['kind' => String_::KIND_HEREDOC, 'docLabel' => 'STR']], ["b<<<\"STR\"\n\$a\nSTR\n", ['kind' => String_::KIND_HEREDOC, 'docLabel' => 'STR']], ["B<<<\"STR\"\n\$a\nSTR\n", ['kind' => String_::KIND_HEREDOC, 'docLabel' => 'STR']],