Fix the trailing whitespace test
This commit is contained in:
parent
848c576266
commit
2a7d97d829
@ -217,10 +217,7 @@ fn test_doc_comment_multi_line_block_strips_suffix() {
|
||||
#[test]
|
||||
fn test_comments_preserve_trailing_whitespace() {
|
||||
let file = SourceFile::parse(
|
||||
r#"
|
||||
/// Representation of a Realm.
|
||||
/// In the specification these are called Realm Records.
|
||||
struct Realm {}"#,
|
||||
"\n/// Representation of a Realm. \n/// In the specification these are called Realm Records.\nstruct Realm {}",
|
||||
)
|
||||
.ok()
|
||||
.unwrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user