fix broken test

This commit is contained in:
Young-Flash 2024-01-11 19:51:45 +08:00
parent e6dd522761
commit afe05fe1d8

View file

@ -22,30 +22,23 @@ SOURCE_FILE
IDENT "Error" IDENT "Error"
ERROR ERROR
SEMICOLON ";" SEMICOLON ";"
WHITESPACE "\n" WHITESPACE "\n"
ERROR USE
USE_KW "use" USE_KW "use"
WHITESPACE " " WHITESPACE " "
USE_TREE USE_TREE
PATH PATH
PATH PATH
PATH_SEGMENT PATH_SEGMENT
NAME_REF NAME_REF
IDENT "std" IDENT "std"
COLON2 "::" COLON2 "::"
PATH_SEGMENT PATH_SEGMENT
NAME_REF NAME_REF
IDENT "io" IDENT "io"
ERROR SEMICOLON ";"
SEMICOLON ";"
WHITESPACE "\n" WHITESPACE "\n"
error 22: expected COMMA error 22: expected COMMA
error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error 23: expected COMMA error 23: expected R_CURLY
error 24: expected one of `*`, `::`, `{`, `self`, `super` or an identifier error 23: expected SEMICOLON
error 27: expected COMMA
error 35: expected COMMA
error 35: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error 36: expected COMMA
error 36: expected R_CURLY
error 36: expected SEMICOLON