mirror of
https://github.com/nushell/nushell
synced 2025-01-01 07:48:53 +00:00
8 lines
207 B
Rust
8 lines
207 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn ignore_still_causes_stream_to_be_consumed_fully() {
|
||
|
let result = nu!("[foo bar] | each { |val| print $val; $val } | ignore");
|
||
|
assert_eq!("foobar", result.out);
|
||
|
}
|