mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
12 lines
266 B
Rust
12 lines
266 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn print_config_nu_default_to_stdout() {
|
||
|
let actual = nu!("config nu --default");
|
||
|
assert_eq!(
|
||
|
actual.out,
|
||
|
nu_utils::get_default_config().replace(['\n', '\r'], "")
|
||
|
);
|
||
|
assert!(actual.err.is_empty());
|
||
|
}
|