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.
This commit is contained in:
Devyn Cairns 2024-12-22 04:55:03 -08:00 committed by GitHub
parent a8890d5cca
commit d99905b604
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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");