mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +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
|
||||
NAME_REF
|
||||
IDENT "Error"
|
||||
ERROR
|
||||
SEMICOLON ";"
|
||||
SEMICOLON ";"
|
||||
WHITESPACE "\n"
|
||||
USE
|
||||
USE_KW "use"
|
||||
|
@ -38,7 +37,4 @@ SOURCE_FILE
|
|||
IDENT "io"
|
||||
SEMICOLON ";"
|
||||
WHITESPACE "\n"
|
||||
error 22: expected COMMA
|
||||
error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
|
||||
error 23: expected R_CURLY
|
||||
error 23: expected SEMICOLON
|
||||
error 22: expected R_CURLY
|
||||
|
|
|
@ -10,8 +10,7 @@ SOURCE_FILE
|
|||
PATH_SEGMENT
|
||||
NAME_REF
|
||||
IDENT "a"
|
||||
ERROR
|
||||
SEMICOLON ";"
|
||||
SEMICOLON ";"
|
||||
WHITESPACE "\n"
|
||||
USE
|
||||
USE_KW "use"
|
||||
|
@ -44,7 +43,4 @@ SOURCE_FILE
|
|||
L_CURLY "{"
|
||||
R_CURLY "}"
|
||||
WHITESPACE "\n"
|
||||
error 6: expected COMMA
|
||||
error 6: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
|
||||
error 7: expected R_CURLY
|
||||
error 7: expected SEMICOLON
|
||||
error 6: expected R_CURLY
|
||||
|
|
Loading…
Reference in a new issue