mirror of
https://github.com/nushell/nushell
synced 2025-01-11 20:59:08 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue