Add regression test
This commit is contained in:
parent
cc97eaf9f9
commit
7fc181d111
3 changed files with 9 additions and 0 deletions
1
tests/config/normalize_multiline_doc_attribute.toml
Normal file
1
tests/config/normalize_multiline_doc_attribute.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
normalize_doc_attributes = true
|
||||
4
tests/source/normalize_multiline_doc_attribute.rs
Normal file
4
tests/source/normalize_multiline_doc_attribute.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#[doc = "This comment
|
||||
is split
|
||||
on multiple lines"]
|
||||
fn foo() {}
|
||||
4
tests/target/normalize_multiline_doc_attribute.rs
Normal file
4
tests/target/normalize_multiline_doc_attribute.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
///This comment
|
||||
///is split
|
||||
///on multiple lines
|
||||
fn foo() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue