mirror of
https://github.com/nushell/nushell.git
synced 2024-12-04 22:33:50 +01:00
12 lines
265 B
Rust
12 lines
265 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn print_config_env_default_to_stdout() {
|
||
|
let actual = nu!("config env --default");
|
||
|
assert_eq!(
|
||
|
actual.out,
|
||
|
nu_utils::get_default_env().replace(['\n', '\r'], "")
|
||
|
);
|
||
|
assert!(actual.err.is_empty());
|
||
|
}
|