Clarify and comment test.

This commit is contained in:
Chad Stearns 2019-12-04 22:36:28 -05:00
parent edd8877865
commit ff6e08daf6

View file

@ -123,6 +123,9 @@ mod test_format {
"# "#
)); ));
} }
// Tests fail! Comment disappears
//
// #[test] // #[test]
// fn string_with_comment_behind() { // fn string_with_comment_behind() {
// expr_formats_same(indoc!( // expr_formats_same(indoc!(
@ -134,20 +137,13 @@ mod test_format {
// //
// #[test] // #[test]
// fn string_with_comment_underneath() { // fn string_with_comment_underneath() {
// expr_formats_to( // expr_formats_same(
// indoc!( // indoc!(
// r#" // r#"
// "a" // "a"
// # b // # b
// "# // "#
// ), indoc!( // ));
// r#"
// "a"
//
// # b
// "#
// )
// );
// } // }
#[test] #[test]