mirror of
https://github.com/nushell/nushell
synced 2024-12-30 23:08:56 +00: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.
7 lines
169 B
Rust
7 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"));
|
|
}
|