mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
9 lines
197 B
Rust
9 lines
197 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn grid_errors_with_few_columns() {
|
||
|
let actual = nu!("[1 2 3 4 5] | grid --width 5");
|
||
|
|
||
|
assert!(actual.err.contains("Couldn't fit grid into 5 columns"));
|
||
|
}
|