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:
John-Goff
2021-03-13 16:46:40 -05:00
committed by GitHub
parent 6cf8df8685
commit c13fe83784
38 changed files with 109 additions and 107 deletions

View File

@ -126,7 +126,7 @@ mod it_evaluation {
let actual = nu!(
cwd: ".",
r#"
nu --testbin repeater c 8197 | lines | count
nu --testbin repeater c 8197 | lines | length
"#
);
@ -165,7 +165,7 @@ mod stdin_evaluation {
cwd: ".",
pipeline(r#"
nu --testbin nonu "where's the nuline?"
| count
| length
"#
));