aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 13:18:12 +0100
committerAleksey Kladov <[email protected]>2020-07-30 13:20:33 +0100
commitb6b77d1396d420421ede0aaf0a5638f9ceb895ed (patch)
tree1152a079401b2d34bcc903f7935fe1aff0b7b3db /crates/ra_syntax/test_data/parser/inline
parentb1332670c7c471a59f3da113b366e74ac194c38b (diff)
Update tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast6
7 files changed, 18 insertions, 18 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast b/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast
index da8505607..2f59d0606 100644
--- a/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast
+++ b/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..12 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast
index cf3a90400..1e80dd7e2 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..58 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
@@ -51,7 +51,7 @@ [email protected]
51 [email protected] " " 51 [email protected] " "
52 [email protected] "// Rust 2018 (with a ..." 52 [email protected] "// Rust 2018 (with a ..."
53 [email protected] "\n" 53 [email protected] "\n"
54 USE_ITEM@98..121 54 [email protected]
55 [email protected] "use" 55 [email protected] "use"
56 [email protected] " " 56 [email protected] " "
57 [email protected] 57 [email protected]
@@ -77,7 +77,7 @@ [email protected]
77 [email protected] " " 77 [email protected] " "
78 [email protected] "// Rust 2015" 78 [email protected] "// Rust 2015"
79 [email protected] "\n" 79 [email protected] "\n"
80 USE_ITEM@135..166 80 [email protected]
81 [email protected] "use" 81 [email protected] "use"
82 [email protected] " " 82 [email protected] " "
83 [email protected] 83 [email protected]
@@ -104,7 +104,7 @@ [email protected]
104 [email protected] " " 104 [email protected] " "
105 [email protected] "// Rust 2015" 105 [email protected] "// Rust 2015"
106 [email protected] "\n" 106 [email protected] "\n"
107 USE_ITEM@180..205 107 [email protected]
108 [email protected] "use" 108 [email protected] "use"
109 [email protected] " " 109 [email protected] " "
110 [email protected] 110 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast
index 9e898b7b9..b3623c445 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast
@@ -1,12 +1,12 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..6 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
6 [email protected] "*" 6 [email protected] "*"
7 [email protected] ";" 7 [email protected] ";"
8 [email protected] "\n" 8 [email protected] "\n"
9 USE_ITEM@7..15 9 [email protected]
10 [email protected] "use" 10 [email protected] "use"
11 [email protected] " " 11 [email protected] " "
12 [email protected] 12 [email protected]
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] "*" 14 [email protected] "*"
15 [email protected] ";" 15 [email protected] ";"
16 [email protected] "\n" 16 [email protected] "\n"
17 USE_ITEM@16..36 17 [email protected]
18 [email protected] "use" 18 [email protected] "use"
19 [email protected] " " 19 [email protected] " "
20 [email protected] 20 [email protected]
@@ -35,7 +35,7 @@ [email protected]
35 [email protected] "}" 35 [email protected] "}"
36 [email protected] ";" 36 [email protected] ";"
37 [email protected] "\n" 37 [email protected] "\n"
38 USE_ITEM@37..59 38 [email protected]
39 [email protected] "use" 39 [email protected] "use"
40 [email protected] " " 40 [email protected] " "
41 [email protected] 41 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast b/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast
index 8e9061e1d..60b517230 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..28 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
@@ -20,7 +20,7 @@ [email protected]
20 [email protected] "some_name" 20 [email protected] "some_name"
21 [email protected] ";" 21 [email protected] ";"
22 [email protected] "\n" 22 [email protected] "\n"
23 USE_ITEM@29..181 23 [email protected]
24 [email protected] "use" 24 [email protected] "use"
25 [email protected] " " 25 [email protected] " "
26 [email protected] 26 [email protected]
@@ -121,7 +121,7 @@ [email protected]
121 [email protected] "}" 121 [email protected] "}"
122 [email protected] ";" 122 [email protected] ";"
123 [email protected] "\n" 123 [email protected] "\n"
124 USE_ITEM@182..197 124 [email protected]
125 [email protected] "use" 125 [email protected] "use"
126 [email protected] " " 126 [email protected] " "
127 [email protected] 127 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast
index caa76fe8a..702f2e0b0 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..15 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast
index 18cd5271f..c4c5bc51e 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..18 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
@@ -17,7 +17,7 @@ [email protected]
17 [email protected] "}" 17 [email protected] "}"
18 [email protected] ";" 18 [email protected] ";"
19 [email protected] "\n" 19 [email protected] "\n"
20 USE_ITEM@19..36 20 [email protected]
21 [email protected] "use" 21 [email protected] "use"
22 [email protected] " " 22 [email protected] " "
23 [email protected] 23 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast
index 015a7a7d2..82028096f 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast
@@ -1,5 +1,5 @@
1[email protected] 1[email protected]
2 USE_ITEM@0..17 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected] 5 [email protected]
@@ -12,7 +12,7 @@ [email protected]
12 [email protected] " " 12 [email protected] " "
13 [email protected] "// Rust 2018 - All fl ..." 13 [email protected] "// Rust 2018 - All fl ..."
14 [email protected] "\n" 14 [email protected] "\n"
15 USE_ITEM@46..61 15 [email protected]
16 [email protected] "use" 16 [email protected] "use"
17 [email protected] " " 17 [email protected] " "
18 [email protected] 18 [email protected]
@@ -24,7 +24,7 @@ [email protected]
24 [email protected] " " 24 [email protected] " "
25 [email protected] "// Rust 2018 - Anchor ..." 25 [email protected] "// Rust 2018 - Anchor ..."
26 [email protected] "\n" 26 [email protected] "\n"
27 USE_ITEM@92..124 27 [email protected]
28 [email protected] "use" 28 [email protected] "use"
29 [email protected] " " 29 [email protected] " "
30 [email protected] 30 [email protected]