mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
60041879f3
# Description This is a small PR to fix Nu crashing when calling `inspect` with no data piped in(#9255). # User-Facing Changes none.
8 lines
169 B
Rust
8 lines
169 B
Rust
use nu_test_support::nu;
|
|
|
|
#[test]
|
|
fn inspect_with_empty_pipeline() {
|
|
let actual = nu!("inspect");
|
|
assert!(actual.err.contains("no input value was piped in"));
|
|
}
|