mirror of
https://github.com/nushell/nushell.git
synced 2024-12-04 22:33:50 +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"));
|
||
|
}
|