mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 19:33:47 +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"));
|
||
|
}
|