nu 0.112.2

A new type of shell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod commands;

use nu_test_support::nu;
use pretty_assertions::assert_eq;

#[test]
fn doesnt_break_on_utf8() {
    let actual = nu!("echo ö");
    assert_eq!(actual.out, "ö", "'{}' should contain ö", actual.out);
}

#[test]
fn infinite_output_piped_to_value() {
    let actual = nu!("nu --testbin iecho x | 1");
    assert_eq!(actual.out, "1");
    assert_eq!(actual.err, "");
}