diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt | 135 |
1 files changed, 0 insertions, 135 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt deleted file mode 100644 index 2f2be32b9..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0085_expr_literals.txt +++ /dev/null | |||
@@ -1,135 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 189) | ||
2 | FN_DEF@[0; 188) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK@[9; 188) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | LET_STMT@[15; 28) | ||
15 | LET_KW@[15; 18) "let" | ||
16 | WHITESPACE@[18; 19) " " | ||
17 | PLACEHOLDER_PAT@[19; 20) | ||
18 | UNDERSCORE@[19; 20) "_" | ||
19 | WHITESPACE@[20; 21) " " | ||
20 | EQ@[21; 22) "=" | ||
21 | WHITESPACE@[22; 23) " " | ||
22 | LITERAL@[23; 27) | ||
23 | TRUE_KW@[23; 27) "true" | ||
24 | SEMI@[27; 28) ";" | ||
25 | WHITESPACE@[28; 33) "\n " | ||
26 | LET_STMT@[33; 47) | ||
27 | LET_KW@[33; 36) "let" | ||
28 | WHITESPACE@[36; 37) " " | ||
29 | PLACEHOLDER_PAT@[37; 38) | ||
30 | UNDERSCORE@[37; 38) "_" | ||
31 | WHITESPACE@[38; 39) " " | ||
32 | EQ@[39; 40) "=" | ||
33 | WHITESPACE@[40; 41) " " | ||
34 | LITERAL@[41; 46) | ||
35 | FALSE_KW@[41; 46) "false" | ||
36 | SEMI@[46; 47) ";" | ||
37 | WHITESPACE@[47; 52) "\n " | ||
38 | LET_STMT@[52; 62) | ||
39 | LET_KW@[52; 55) "let" | ||
40 | WHITESPACE@[55; 56) " " | ||
41 | PLACEHOLDER_PAT@[56; 57) | ||
42 | UNDERSCORE@[56; 57) "_" | ||
43 | WHITESPACE@[57; 58) " " | ||
44 | EQ@[58; 59) "=" | ||
45 | WHITESPACE@[59; 60) " " | ||
46 | LITERAL@[60; 61) | ||
47 | INT_NUMBER@[60; 61) "1" | ||
48 | SEMI@[61; 62) ";" | ||
49 | WHITESPACE@[62; 67) "\n " | ||
50 | LET_STMT@[67; 79) | ||
51 | LET_KW@[67; 70) "let" | ||
52 | WHITESPACE@[70; 71) " " | ||
53 | PLACEHOLDER_PAT@[71; 72) | ||
54 | UNDERSCORE@[71; 72) "_" | ||
55 | WHITESPACE@[72; 73) " " | ||
56 | EQ@[73; 74) "=" | ||
57 | WHITESPACE@[74; 75) " " | ||
58 | LITERAL@[75; 78) | ||
59 | FLOAT_NUMBER@[75; 78) "2.0" | ||
60 | SEMI@[78; 79) ";" | ||
61 | WHITESPACE@[79; 84) "\n " | ||
62 | LET_STMT@[84; 97) | ||
63 | LET_KW@[84; 87) "let" | ||
64 | WHITESPACE@[87; 88) " " | ||
65 | PLACEHOLDER_PAT@[88; 89) | ||
66 | UNDERSCORE@[88; 89) "_" | ||
67 | WHITESPACE@[89; 90) " " | ||
68 | EQ@[90; 91) "=" | ||
69 | WHITESPACE@[91; 92) " " | ||
70 | LITERAL@[92; 96) | ||
71 | BYTE@[92; 96) "b\'a\'" | ||
72 | SEMI@[96; 97) ";" | ||
73 | WHITESPACE@[97; 102) "\n " | ||
74 | LET_STMT@[102; 114) | ||
75 | LET_KW@[102; 105) "let" | ||
76 | WHITESPACE@[105; 106) " " | ||
77 | PLACEHOLDER_PAT@[106; 107) | ||
78 | UNDERSCORE@[106; 107) "_" | ||
79 | WHITESPACE@[107; 108) " " | ||
80 | EQ@[108; 109) "=" | ||
81 | WHITESPACE@[109; 110) " " | ||
82 | LITERAL@[110; 113) | ||
83 | CHAR@[110; 113) "\'b\'" | ||
84 | SEMI@[113; 114) ";" | ||
85 | WHITESPACE@[114; 119) "\n " | ||
86 | LET_STMT@[119; 131) | ||
87 | LET_KW@[119; 122) "let" | ||
88 | WHITESPACE@[122; 123) " " | ||
89 | PLACEHOLDER_PAT@[123; 124) | ||
90 | UNDERSCORE@[123; 124) "_" | ||
91 | WHITESPACE@[124; 125) " " | ||
92 | EQ@[125; 126) "=" | ||
93 | WHITESPACE@[126; 127) " " | ||
94 | LITERAL@[127; 130) | ||
95 | STRING@[127; 130) "\"c\"" | ||
96 | SEMI@[130; 131) ";" | ||
97 | WHITESPACE@[131; 136) "\n " | ||
98 | LET_STMT@[136; 149) | ||
99 | LET_KW@[136; 139) "let" | ||
100 | WHITESPACE@[139; 140) " " | ||
101 | PLACEHOLDER_PAT@[140; 141) | ||
102 | UNDERSCORE@[140; 141) "_" | ||
103 | WHITESPACE@[141; 142) " " | ||
104 | EQ@[142; 143) "=" | ||
105 | WHITESPACE@[143; 144) " " | ||
106 | LITERAL@[144; 148) | ||
107 | RAW_STRING@[144; 148) "r\"d\"" | ||
108 | SEMI@[148; 149) ";" | ||
109 | WHITESPACE@[149; 154) "\n " | ||
110 | LET_STMT@[154; 167) | ||
111 | LET_KW@[154; 157) "let" | ||
112 | WHITESPACE@[157; 158) " " | ||
113 | PLACEHOLDER_PAT@[158; 159) | ||
114 | UNDERSCORE@[158; 159) "_" | ||
115 | WHITESPACE@[159; 160) " " | ||
116 | EQ@[160; 161) "=" | ||
117 | WHITESPACE@[161; 162) " " | ||
118 | LITERAL@[162; 166) | ||
119 | BYTE_STRING@[162; 166) "b\"e\"" | ||
120 | SEMI@[166; 167) ";" | ||
121 | WHITESPACE@[167; 172) "\n " | ||
122 | LET_STMT@[172; 186) | ||
123 | LET_KW@[172; 175) "let" | ||
124 | WHITESPACE@[175; 176) " " | ||
125 | PLACEHOLDER_PAT@[176; 177) | ||
126 | UNDERSCORE@[176; 177) "_" | ||
127 | WHITESPACE@[177; 178) " " | ||
128 | EQ@[178; 179) "=" | ||
129 | WHITESPACE@[179; 180) " " | ||
130 | LITERAL@[180; 185) | ||
131 | RAW_BYTE_STRING@[180; 185) "br\"f\"" | ||
132 | SEMI@[185; 186) ";" | ||
133 | WHITESPACE@[186; 187) "\n" | ||
134 | R_CURLY@[187; 188) "}" | ||
135 | WHITESPACE@[188; 189) "\n" | ||