mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
test: correct expected test result
This commit is contained in:
parent
d0b310fc93
commit
6033b66ce0
2 changed files with 4 additions and 12 deletions
|
@ -20,8 +20,7 @@ SOURCE_FILE
|
||||||
PATH_SEGMENT
|
PATH_SEGMENT
|
||||||
NAME_REF
|
NAME_REF
|
||||||
IDENT "Error"
|
IDENT "Error"
|
||||||
ERROR
|
SEMICOLON ";"
|
||||||
SEMICOLON ";"
|
|
||||||
WHITESPACE "\n"
|
WHITESPACE "\n"
|
||||||
USE
|
USE
|
||||||
USE_KW "use"
|
USE_KW "use"
|
||||||
|
@ -38,7 +37,4 @@ SOURCE_FILE
|
||||||
IDENT "io"
|
IDENT "io"
|
||||||
SEMICOLON ";"
|
SEMICOLON ";"
|
||||||
WHITESPACE "\n"
|
WHITESPACE "\n"
|
||||||
error 22: expected COMMA
|
error 22: expected R_CURLY
|
||||||
error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
|
|
||||||
error 23: expected R_CURLY
|
|
||||||
error 23: expected SEMICOLON
|
|
||||||
|
|
|
@ -10,8 +10,7 @@ SOURCE_FILE
|
||||||
PATH_SEGMENT
|
PATH_SEGMENT
|
||||||
NAME_REF
|
NAME_REF
|
||||||
IDENT "a"
|
IDENT "a"
|
||||||
ERROR
|
SEMICOLON ";"
|
||||||
SEMICOLON ";"
|
|
||||||
WHITESPACE "\n"
|
WHITESPACE "\n"
|
||||||
USE
|
USE
|
||||||
USE_KW "use"
|
USE_KW "use"
|
||||||
|
@ -44,7 +43,4 @@ SOURCE_FILE
|
||||||
L_CURLY "{"
|
L_CURLY "{"
|
||||||
R_CURLY "}"
|
R_CURLY "}"
|
||||||
WHITESPACE "\n"
|
WHITESPACE "\n"
|
||||||
error 6: expected COMMA
|
error 6: expected R_CURLY
|
||||||
error 6: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
|
|
||||||
error 7: expected R_CURLY
|
|
||||||
error 7: expected SEMICOLON
|
|
||||||
|
|
Loading…
Reference in a new issue