diff --git a/lib/tests/test_gpg.rs b/lib/tests/test_gpg.rs index c15a70e4a7..c1f651083c 100644 --- a/lib/tests/test_gpg.rs +++ b/lib/tests/test_gpg.rs @@ -66,8 +66,8 @@ impl GpgEnvironment { let res = gpg.wait_with_output().unwrap(); if !res.status.success() { - println!("Failed to add private key to gpg-agent. Make sure it is running!"); - println!("{}", String::from_utf8_lossy(&res.stderr)); + eprintln!("Failed to add private key to gpg-agent. Make sure it is running!"); + eprintln!("{}", String::from_utf8_lossy(&res.stderr)); return Err(res); }