Unnamed repository; edit this file 'description' to name the repository.
fix broken test
Young-Flash 2024-01-11
parent e6dd522 · commit afe05fe
-rw-r--r--crates/parser/test_data/parser/err/0036_partial_use.rast41
1 files changed, 17 insertions, 24 deletions
diff --git a/crates/parser/test_data/parser/err/0036_partial_use.rast b/crates/parser/test_data/parser/err/0036_partial_use.rast
index 13e76e6830..ad4bc89e83 100644
--- a/crates/parser/test_data/parser/err/0036_partial_use.rast
+++ b/crates/parser/test_data/parser/err/0036_partial_use.rast
@@ -22,30 +22,23 @@ SOURCE_FILE
IDENT "Error"
ERROR
SEMICOLON ";"
- WHITESPACE "\n"
- ERROR
- USE_KW "use"
- WHITESPACE " "
- USE_TREE
- PATH
- PATH
- PATH_SEGMENT
- NAME_REF
- IDENT "std"
- COLON2 "::"
- PATH_SEGMENT
- NAME_REF
- IDENT "io"
- ERROR
- SEMICOLON ";"
+ WHITESPACE "\n"
+ USE
+ USE_KW "use"
+ WHITESPACE " "
+ USE_TREE
+ PATH
+ PATH
+ PATH_SEGMENT
+ NAME_REF
+ IDENT "std"
+ COLON2 "::"
+ PATH_SEGMENT
+ NAME_REF
+ IDENT "io"
+ SEMICOLON ";"
WHITESPACE "\n"
error 22: expected COMMA
error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
-error 23: expected COMMA
-error 24: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
-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
+error 23: expected R_CURLY
+error 23: expected SEMICOLON