Skip to content

Commit da38151

Browse files
Bless old tests containing a .. pattern
1 parent 4a3a15f commit da38151

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ SOURCE_FILE@[0; 103)
8282
NAME_REF@[87; 90)
8383
IDENT@[87; 90) "Bar"
8484
L_PAREN@[90; 91) "("
85-
DOTDOT@[91; 93) ".."
85+
DOT_DOT_PAT@[91; 93)
86+
DOTDOT@[91; 93) ".."
8687
R_PAREN@[93; 94) ")"
8788
WHITESPACE@[94; 95) " "
8889
EQ@[95; 96) "="

crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ SOURCE_FILE@[0; 39)
2727
IDENT@[24; 25) "b"
2828
COMMA@[25; 26) ","
2929
WHITESPACE@[26; 27) " "
30-
DOTDOT@[27; 29) ".."
30+
DOT_DOT_PAT@[27; 29)
31+
DOTDOT@[27; 29) ".."
3132
R_BRACK@[29; 30) "]"
3233
WHITESPACE@[30; 31) " "
3334
EQ@[31; 32) "="

crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ SOURCE_FILE@[0; 97)
8484
UNDERSCORE@[78; 79) "_"
8585
COMMA@[79; 80) ","
8686
WHITESPACE@[80; 81) " "
87-
DOTDOT@[81; 83) ".."
87+
DOT_DOT_PAT@[81; 83)
88+
DOTDOT@[81; 83) ".."
8889
WHITESPACE@[83; 84) " "
8990
COMMA@[84; 85) ","
9091
WHITESPACE@[85; 86) " "

crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ SOURCE_FILE@[0; 39)
2727
IDENT@[24; 25) "b"
2828
COMMA@[25; 26) ","
2929
WHITESPACE@[26; 27) " "
30-
DOTDOT@[27; 29) ".."
30+
DOT_DOT_PAT@[27; 29)
31+
DOTDOT@[27; 29) ".."
3132
R_PAREN@[29; 30) ")"
3233
WHITESPACE@[30; 31) " "
3334
EQ@[31; 32) "="

crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,8 @@ SOURCE_FILE@[0; 3813)
16561656
PARAM@[2952; 2962)
16571657
TUPLE_PAT@[2952; 2956)
16581658
L_PAREN@[2952; 2953) "("
1659-
DOTDOT@[2953; 2955) ".."
1659+
DOT_DOT_PAT@[2953; 2955)
1660+
DOTDOT@[2953; 2955) ".."
16601661
R_PAREN@[2955; 2956) ")"
16611662
COLON@[2956; 2957) ":"
16621663
TUPLE_TYPE@[2957; 2962)

0 commit comments

Comments
 (0)