mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +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:
@ -93,7 +93,7 @@ fn infers_types() {
|
||||
r#"
|
||||
open los_cuatro_mosqueteros.csv
|
||||
| where rusty_luck > 0
|
||||
| count
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
@ -120,7 +120,7 @@ fn from_csv_text_to_table() {
|
||||
open los_tres_caballeros.txt
|
||||
| from csv
|
||||
| get rusty_luck
|
||||
| count
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
@ -147,7 +147,7 @@ fn from_csv_text_with_separator_to_table() {
|
||||
open los_tres_caballeros.txt
|
||||
| from csv --separator ';'
|
||||
| get rusty_luck
|
||||
| count
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
@ -174,7 +174,7 @@ fn from_csv_text_with_tab_separator_to_table() {
|
||||
open los_tres_caballeros.txt
|
||||
| from csv --separator '\t'
|
||||
| get rusty_luck
|
||||
| count
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
@ -200,7 +200,7 @@ fn from_csv_text_skipping_headers_to_table() {
|
||||
open los_tres_amigos.txt
|
||||
| from csv --noheaders
|
||||
| get Column3
|
||||
| count
|
||||
| length
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user