diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt index e3706bfbd..e59542ba1 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt +++ b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt | |||
@@ -79,34 +79,28 @@ SOURCE_FILE@[0; 153) | |||
79 | DOTDOT@[73; 75) | 79 | DOTDOT@[73; 75) |
80 | SEMI@[75; 76) | 80 | SEMI@[75; 76) |
81 | WHITESPACE@[76; 86) | 81 | WHITESPACE@[76; 86) |
82 | err: `expected expression` | 82 | EXPR_STMT@[86; 95) |
83 | EXPR_STMT@[86; 89) | 83 | RANGE_EXPR@[86; 94) |
84 | ERROR@[86; 89) | ||
85 | DOTDOTEQ@[86; 89) | 84 | DOTDOTEQ@[86; 89) |
86 | err: `expected SEMI` | 85 | BIN_EXPR@[89; 94) |
87 | EXPR_STMT@[89; 95) | 86 | LITERAL@[89; 90) |
88 | BIN_EXPR@[89; 94) | 87 | INT_NUMBER@[89; 90) "1" |
89 | LITERAL@[89; 90) | 88 | WHITESPACE@[90; 91) |
90 | INT_NUMBER@[89; 90) "1" | 89 | PLUS@[91; 92) |
91 | WHITESPACE@[90; 91) | 90 | WHITESPACE@[92; 93) |
92 | PLUS@[91; 92) | 91 | LITERAL@[93; 94) |
93 | WHITESPACE@[92; 93) | 92 | INT_NUMBER@[93; 94) "1" |
94 | LITERAL@[93; 94) | ||
95 | INT_NUMBER@[93; 94) "1" | ||
96 | SEMI@[94; 95) | 93 | SEMI@[94; 95) |
97 | WHITESPACE@[95; 100) | 94 | WHITESPACE@[95; 100) |
98 | err: `expected expression` | 95 | EXPR_STMT@[100; 109) |
99 | EXPR_STMT@[100; 103) | 96 | BIN_EXPR@[100; 108) |
100 | ERROR@[100; 103) | 97 | RANGE_EXPR@[100; 104) |
101 | DOTDOTEQ@[100; 103) | 98 | DOTDOTEQ@[100; 103) |
102 | err: `expected SEMI` | 99 | PATH_EXPR@[103; 104) |
103 | EXPR_STMT@[103; 109) | 100 | PATH@[103; 104) |
104 | BIN_EXPR@[103; 108) | 101 | PATH_SEGMENT@[103; 104) |
105 | PATH_EXPR@[103; 104) | 102 | NAME_REF@[103; 104) |
106 | PATH@[103; 104) | 103 | IDENT@[103; 104) "z" |
107 | PATH_SEGMENT@[103; 104) | ||
108 | NAME_REF@[103; 104) | ||
109 | IDENT@[103; 104) "z" | ||
110 | WHITESPACE@[104; 105) | 104 | WHITESPACE@[104; 105) |
111 | EQ@[105; 106) | 105 | EQ@[105; 106) |
112 | WHITESPACE@[106; 107) | 106 | WHITESPACE@[106; 107) |