aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests
diff options
context:
space:
mode:
authorJosh Robson Chase <[email protected]>2019-01-23 18:14:34 +0000
committerJosh Robson Chase <[email protected]>2019-01-23 18:19:49 +0000
commit3b70acad0106e4ffe5ee68d565c9130b5b271e22 (patch)
tree72b32afb919c5317219c0891ced8c9725d622bbc /crates/ra_syntax/tests
parent1cd6d6539a9d85bc44db364bb9165e6d9253790d (diff)
Use IDENT for both raw and normal idents
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r--crates/ra_syntax/tests/data/lexer/0016_raw_ident.txt2
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0039_raw_fn_item.txt2
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0040_raw_struct_item_field.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/tests/data/lexer/0016_raw_ident.txt b/crates/ra_syntax/tests/data/lexer/0016_raw_ident.txt
index 28b9b208a..484689693 100644
--- a/crates/ra_syntax/tests/data/lexer/0016_raw_ident.txt
+++ b/crates/ra_syntax/tests/data/lexer/0016_raw_ident.txt
@@ -1,2 +1,2 @@
1RAW_IDENT 11 "r#raw_ident" 1IDENT 11 "r#raw_ident"
2WHITESPACE 1 "\n" 2WHITESPACE 1 "\n"
diff --git a/crates/ra_syntax/tests/data/parser/ok/0039_raw_fn_item.txt b/crates/ra_syntax/tests/data/parser/ok/0039_raw_fn_item.txt
index 865a680f2..dcd055d86 100644
--- a/crates/ra_syntax/tests/data/parser/ok/0039_raw_fn_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0039_raw_fn_item.txt
@@ -3,7 +3,7 @@ SOURCE_FILE@[0; 15)
3 FN_KW@[0; 2) 3 FN_KW@[0; 2)
4 WHITESPACE@[2; 3) 4 WHITESPACE@[2; 3)
5 NAME@[3; 8) 5 NAME@[3; 8)
6 RAW_IDENT@[3; 8) "r#foo" 6 IDENT@[3; 8) "r#foo"
7 PARAM_LIST@[8; 10) 7 PARAM_LIST@[8; 10)
8 L_PAREN@[8; 9) 8 L_PAREN@[8; 9)
9 R_PAREN@[9; 10) 9 R_PAREN@[9; 10)
diff --git a/crates/ra_syntax/tests/data/parser/ok/0040_raw_struct_item_field.txt b/crates/ra_syntax/tests/data/parser/ok/0040_raw_struct_item_field.txt
index 4e244cbc5..361e53152 100644
--- a/crates/ra_syntax/tests/data/parser/ok/0040_raw_struct_item_field.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0040_raw_struct_item_field.txt
@@ -10,7 +10,7 @@ SOURCE_FILE@[0; 27)
10 WHITESPACE@[10; 15) 10 WHITESPACE@[10; 15)
11 NAMED_FIELD_DEF@[15; 25) 11 NAMED_FIELD_DEF@[15; 25)
12 NAME@[15; 20) 12 NAME@[15; 20)
13 RAW_IDENT@[15; 20) "r#foo" 13 IDENT@[15; 20) "r#foo"
14 COLON@[20; 21) 14 COLON@[20; 21)
15 WHITESPACE@[21; 22) 15 WHITESPACE@[21; 22)
16 PATH_TYPE@[22; 25) 16 PATH_TYPE@[22; 25)