Skip to content

Commit eaf08b2

Browse files
committed
Fix comments lexing tests
1 parent e499994 commit eaf08b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Parser/Lexer.comments.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Assert::token($tokens[2], TokenType::WHITESPACE, ' ', 15);
3333
$tokens = $lexer->tokenizeAll(' /*! comment */ ');
3434
//Assert::count($tokens, 3);
3535
Assert::token($tokens[0], TokenType::WHITESPACE, ' ', 0);
36-
Assert::token($tokens[1], TokenType::COMMENT | TokenType::BLOCK_COMMENT | TokenType::HINT_COMMENT, '/*+ comment */', 1);
36+
Assert::token($tokens[1], TokenType::COMMENT | TokenType::BLOCK_COMMENT | TokenType::OPTIONAL_COMMENT, '/*! comment */', 1);
3737
Assert::token($tokens[2], TokenType::WHITESPACE, ' ', 15);
3838

3939

0 commit comments

Comments
 (0)