From ff6e08daf609a68267b3d77c808c93f14ebcf4db Mon Sep 17 00:00:00 2001 From: Chad Stearns Date: Wed, 4 Dec 2019 22:36:28 -0500 Subject: [PATCH] Clarify and comment test. --- tests/test_format.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/test_format.rs b/tests/test_format.rs index 252d23cc34..ca2abe6d1e 100644 --- a/tests/test_format.rs +++ b/tests/test_format.rs @@ -123,6 +123,9 @@ mod test_format { "# )); } + +// Tests fail! Comment disappears +// // #[test] // fn string_with_comment_behind() { // expr_formats_same(indoc!( @@ -134,20 +137,13 @@ mod test_format { // // #[test] // fn string_with_comment_underneath() { -// expr_formats_to( +// expr_formats_same( // indoc!( // r#" // "a" // # b // "# -// ), indoc!( -// r#" -// "a" -// -// # b -// "# -// ) -// ); +// )); // } #[test]