nu-command 0.90.1

Nushell's built-in commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
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());
}