mirror of
https://github.com/nushell/nushell.git
synced 2025-01-02 20:39:13 +01:00
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:
parent
a8890d5cca
commit
d99905b604
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user