aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/runnables.rs
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2019-07-28 12:08:06 +0100
committerPhil Ellison <[email protected]>2019-07-28 12:08:06 +0100
commit5c4df97996ac88133c12069debff1f86d3a9f7cb (patch)
tree50191919a9d6462b1edafff44df9c36449d89cc4 /crates/ra_ide_api/src/runnables.rs
parent9f6909c0ce678e738a39789687af8a12e02d0be1 (diff)
cargo format
Diffstat (limited to 'crates/ra_ide_api/src/runnables.rs')
-rw-r--r--crates/ra_ide_api/src/runnables.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/crates/ra_ide_api/src/runnables.rs b/crates/ra_ide_api/src/runnables.rs
index 7a3a574ad..09c082de9 100644
--- a/crates/ra_ide_api/src/runnables.rs
+++ b/crates/ra_ide_api/src/runnables.rs
@@ -93,7 +93,7 @@ mod tests {
93 ); 93 );
94 let runnables = analysis.runnables(pos.file_id).unwrap(); 94 let runnables = analysis.runnables(pos.file_id).unwrap();
95 assert_debug_snapshot_matches!(&runnables, 95 assert_debug_snapshot_matches!(&runnables,
96@r#"[ 96 @r#"[
97 Runnable { 97 Runnable {
98 range: [1; 21), 98 range: [1; 21),
99 kind: Bin, 99 kind: Bin,
@@ -111,7 +111,7 @@ mod tests {
111 }, 111 },
112 }, 112 },
113]"# 113]"#
114 ); 114 );
115 } 115 }
116 116
117 #[test] 117 #[test]
@@ -127,8 +127,8 @@ mod tests {
127 "#, 127 "#,
128 ); 128 );
129 let runnables = analysis.runnables(pos.file_id).unwrap(); 129 let runnables = analysis.runnables(pos.file_id).unwrap();
130 assert_debug_snapshot_matches!(&runnables, 130 assert_debug_snapshot_matches!(&runnables,
131@r#"[ 131 @r#"[
132 Runnable { 132 Runnable {
133 range: [1; 59), 133 range: [1; 59),
134 kind: TestMod { 134 kind: TestMod {
@@ -142,7 +142,7 @@ mod tests {
142 }, 142 },
143 }, 143 },
144]"# 144]"#
145 ); 145 );
146 } 146 }
147 147
148 #[test] 148 #[test]
@@ -161,7 +161,7 @@ mod tests {
161 ); 161 );
162 let runnables = analysis.runnables(pos.file_id).unwrap(); 162 let runnables = analysis.runnables(pos.file_id).unwrap();
163 assert_debug_snapshot_matches!(&runnables, 163 assert_debug_snapshot_matches!(&runnables,
164@r#"[ 164 @r#"[
165 Runnable { 165 Runnable {
166 range: [23; 85), 166 range: [23; 85),
167 kind: TestMod { 167 kind: TestMod {
@@ -175,7 +175,7 @@ mod tests {
175 }, 175 },
176 }, 176 },
177]"# 177]"#
178 ); 178 );
179 } 179 }
180 180
181 #[test] 181 #[test]
@@ -196,7 +196,7 @@ mod tests {
196 ); 196 );
197 let runnables = analysis.runnables(pos.file_id).unwrap(); 197 let runnables = analysis.runnables(pos.file_id).unwrap();
198 assert_debug_snapshot_matches!(&runnables, 198 assert_debug_snapshot_matches!(&runnables,
199@r#"[ 199 @r#"[
200 Runnable { 200 Runnable {
201 range: [41; 115), 201 range: [41; 115),
202 kind: TestMod { 202 kind: TestMod {
@@ -210,7 +210,7 @@ mod tests {
210 }, 210 },
211 }, 211 },
212]"# 212]"#
213 ); 213 );
214 } 214 }
215 215
216 #[test] 216 #[test]