mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 13:24:30 +01:00
14 lines
383 B
Rust
14 lines
383 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn sets_stream_from_internal_command_as_binary() {
|
||
|
let result = nu!("seq 1 10 | to text | into binary | describe");
|
||
|
assert_eq!("binary (stream)", result.out);
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn sets_stream_from_external_command_as_binary() {
|
||
|
let result = nu!("^nu --testbin cococo | into binary | describe");
|
||
|
assert_eq!("binary (stream)", result.out);
|
||
|
}
|