about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/print_with_newline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/print_with_newline.rs')
-rw-r--r--src/tools/clippy/tests/ui/print_with_newline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/print_with_newline.rs b/src/tools/clippy/tests/ui/print_with_newline.rs
index ff79ca75ffa..d9c7acc2748 100644
--- a/src/tools/clippy/tests/ui/print_with_newline.rs
+++ b/src/tools/clippy/tests/ui/print_with_newline.rs
@@ -47,7 +47,7 @@ fn main() {
     // Don't warn on CRLF (#4208)
     print!("\r\n");
     print!("foo\r\n");
-    print!("\\r\n"); //~ ERROR
+    print!("\\r\n"); // should fail
     print!("foo\rbar\n");
 
     // Ignore expanded format strings