mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 05:22:33 +02:00
Rename count
to length
(#3166)
* update docs to refer to length instead of count * rename count to length * change all occurrences of 'count' to 'length' in tests * format length command
This commit is contained in:
@ -33,7 +33,7 @@ fn cal_friday_the_thirteenths_in_2015() {
|
||||
let actual = nu!(
|
||||
cwd: ".", pipeline(
|
||||
r#"
|
||||
cal --full-year 2015 | default friday 0 | where friday == 13 | count
|
||||
cal --full-year 2015 | default friday 0 | where friday == 13 | length
|
||||
"#
|
||||
));
|
||||
|
||||
@ -45,7 +45,7 @@ fn cal_rows_in_2020() {
|
||||
let actual = nu!(
|
||||
cwd: ".", pipeline(
|
||||
r#"
|
||||
cal --full-year 2020 | count
|
||||
cal --full-year 2020 | length
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user