mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 08:55:40 +02:00
Fix str --to-int usages (#2167)
This commit is contained in:
@ -35,7 +35,7 @@ mod tests {
|
||||
open los_tres_amigos.txt
|
||||
| from-csv
|
||||
| get rusty_luck
|
||||
| str --to-int
|
||||
| str to-int
|
||||
| math sum
|
||||
| echo "$it"
|
||||
"#,
|
||||
@ -43,7 +43,7 @@ mod tests {
|
||||
|
||||
assert_eq!(
|
||||
actual,
|
||||
r#"open los_tres_amigos.txt | from-csv | get rusty_luck | str --to-int | math sum | echo "$it""#
|
||||
r#"open los_tres_amigos.txt | from-csv | get rusty_luck | str to-int | math sum | echo "$it""#
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user