mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 19:54:34 +02:00
Command tests (#922)
* WIP command tests * Finish marking todo tests * update * update * Windows cd test ignoring
This commit is contained in:
@ -56,7 +56,7 @@ mod tests {
|
||||
open los_tres_amigos.txt
|
||||
| from-csv
|
||||
| get rusty_luck
|
||||
| str to-int
|
||||
| into int
|
||||
| math sum
|
||||
| echo "$it"
|
||||
"#,
|
||||
@ -64,7 +64,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 | into int | math sum | echo "$it""#
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user