about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/println_empty_string.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/println_empty_string.fixed')
-rw-r--r--src/tools/clippy/tests/ui/println_empty_string.fixed7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/println_empty_string.fixed b/src/tools/clippy/tests/ui/println_empty_string.fixed
index 2b889b62ea9..9760680927a 100644
--- a/src/tools/clippy/tests/ui/println_empty_string.fixed
+++ b/src/tools/clippy/tests/ui/println_empty_string.fixed
@@ -8,4 +8,11 @@ fn main() {
     match "a" {
         _ => println!(),
     }
+
+    eprintln!();
+    eprintln!();
+
+    match "a" {
+        _ => eprintln!(),
+    }
 }