diff --git a/crates/test_utils/src/lib.rs b/crates/test_utils/src/lib.rs index dd582c77cee..6041ab5e4f9 100644 --- a/crates/test_utils/src/lib.rs +++ b/crates/test_utils/src/lib.rs @@ -377,7 +377,7 @@ pub fn try_ensure_file_contents(file: &Path, contents: &str) -> Result<(), ()> { display_path.display() ); if is_ci() { - eprintln!("\n NOTE: run `cargo test` locally and commit the updated files\n"); + eprintln!(" NOTE: run `cargo test` locally and commit the updated files\n"); } if let Some(parent) = file.parent() { let _ = std::fs::create_dir_all(parent); diff --git a/xtask/src/codegen.rs b/xtask/src/codegen.rs index e43d4fa7387..2cf3c6fdc9a 100644 --- a/xtask/src/codegen.rs +++ b/xtask/src/codegen.rs @@ -56,7 +56,7 @@ pub(crate) fn ensure_file_contents(file: &Path, contents: &str) -> Result<()> { display_path.display() ); if std::env::var("CI").is_ok() { - eprintln!("\n NOTE: run `cargo test` locally and commit the updated files\n"); + eprintln!(" NOTE: run `cargo test` locally and commit the updated files\n"); } if let Some(parent) = file.parent() { let _ = std::fs::create_dir_all(parent);