nu-command 0.105.1

Nushell's built-in commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use nu_test_support::nu;
use nu_test_support::playground::Playground;
#[test]
fn test_uname_all() {
    Playground::setup("uname_test_1", |dirs, _| {
        let actual = nu!(
            cwd: dirs.test(),
            "uname"
        );
        assert!(actual.status.success())
    })
}