mirror of
https://github.com/nushell/nushell
synced 2025-01-04 09:18:57 +00:00
b1a946f0dc
* Add test file for count command * rustfmt + Clippy
13 lines
220 B
Rust
13 lines
220 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn count_columns_in_cal_table() {
|
|
let actual = nu!(
|
|
cwd: ".", pipeline(
|
|
r#"
|
|
cal | count -c
|
|
"#
|
|
));
|
|
|
|
assert_eq!(actual.out, "7");
|
|
}
|