Add zip command

This commit is contained in:
JT
2021-11-02 18:28:28 +13:00
parent bc8d90672e
commit 25846d3c1e
7 changed files with 88 additions and 75 deletions

View File

@ -806,3 +806,8 @@ fn help_works_with_missing_requirements() -> TestResult {
fn scope_variable() -> TestResult {
run_test(r"let x = 3; $scope.vars.0", "$x")
}
#[test]
fn zip_ranges() -> TestResult {
run_test(r"1..3 | zip 4..6 | get 2.1", "6")
}