diff options
author | Kirill Bulatov <[email protected]> | 2020-02-12 15:04:16 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-02-12 15:04:16 +0000 |
commit | 2a7d97d82911ad03c549fa3c8c014e4b74c9696d (patch) | |
tree | 9b16f5ef707a96fc0a1ff067778f78179176d31f /crates/ra_syntax | |
parent | 848c5762667101c8a017e561da2fa7e39b212929 (diff) |
Fix the trailing whitespace test
Diffstat (limited to 'crates/ra_syntax')
-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 50441e75b..9cc7930f7 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -217,10 +217,7 @@ fn test_doc_comment_multi_line_block_strips_suffix() { | |||
217 | #[test] | 217 | #[test] |
218 | fn test_comments_preserve_trailing_whitespace() { | 218 | fn test_comments_preserve_trailing_whitespace() { |
219 | let file = SourceFile::parse( | 219 | let file = SourceFile::parse( |
220 | r#" | 220 | "\n/// Representation of a Realm. \n/// In the specification these are called Realm Records.\nstruct Realm {}", |
221 | /// Representation of a Realm. | ||
222 | /// In the specification these are called Realm Records. | ||
223 | struct Realm {}"#, | ||
224 | ) | 221 | ) |
225 | .ok() | 222 | .ok() |
226 | .unwrap(); | 223 | .unwrap(); |