mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 08:59:12 +01:00
299fea8538
* Fix empty table from externals * Fix empty table from externals
16 lines
322 B
Rust
16 lines
322 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn better_empty_redirection() {
|
|
let actual = nu!(
|
|
cwd: "tests/fixtures/formats", pipeline(
|
|
r#"
|
|
ls | each { |it| nu --testbin cococo $it.name }
|
|
"#
|
|
));
|
|
|
|
eprintln!("out: {}", actual.out);
|
|
|
|
assert!(!actual.out.contains('2'));
|
|
}
|