mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 03:15:00 +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:
@ -13,7 +13,7 @@ fn columns() {
|
||||
]
|
||||
| drop column
|
||||
| get
|
||||
| count
|
||||
| length
|
||||
"#)
|
||||
);
|
||||
|
||||
@ -62,7 +62,7 @@ fn rows() {
|
||||
|
||||
#[test]
|
||||
fn more_rows_than_table_has() {
|
||||
let actual = nu!(cwd: ".", "date | drop 50 | count");
|
||||
let actual = nu!(cwd: ".", "date | drop 50 | length");
|
||||
|
||||
assert_eq!(actual.out, "0");
|
||||
}
|
||||
|
Reference in New Issue
Block a user