From d99905b6047112dc22abf2200ec64a65a0451e42 Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Sun, 22 Dec 2024 04:55:03 -0800 Subject: [PATCH] Make the `--no-newline` test use `--no-config-file` as well (#14654) Just a quick change: the test I made for `--no-newline` was missing `--no-config-file`, so it could false-negative if you have problems with your config. --- tests/shell/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shell/mod.rs b/tests/shell/mod.rs index bedfe8304e..c2df76005b 100644 --- a/tests/shell/mod.rs +++ b/tests/shell/mod.rs @@ -274,7 +274,7 @@ fn run_in_noninteractive_mode() { #[test] fn run_with_no_newline() { let child_output = std::process::Command::new(nu_test_support::fs::executable_path()) - .args(["--no-newline", "-c", "\"hello world\""]) + .args(["-n", "--no-newline", "-c", "\"hello world\""]) .output() .expect("failed to run nu");