diff options
Diffstat (limited to 'crates/ra_syntax/src/ast.rs')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index 8ac313e6e..6f0489617 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -181,10 +181,7 @@ fn test_doc_comment_multi_line_block_strips_suffix() { | |||
181 | .ok() | 181 | .ok() |
182 | .unwrap(); | 182 | .unwrap(); |
183 | let module = file.syntax().descendants().find_map(Module::cast).unwrap(); | 183 | let module = file.syntax().descendants().find_map(Module::cast).unwrap(); |
184 | assert_eq!( | 184 | assert_eq!(" this\n is\n mod foo", module.doc_comment_text().unwrap()); |
185 | " this\n is\n mod foo\n ", | ||
186 | module.doc_comment_text().unwrap() | ||
187 | ); | ||
188 | } | 185 | } |
189 | 186 | ||
190 | #[test] | 187 | #[test] |