From 7bcd96fc65854842a69694deff1f8152c351c8d4 Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 22 Nov 2022 02:04:36 +1000 Subject: [PATCH] Remove erroneous test (#7179) --- crates/nu-command/tests/commands/each.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/nu-command/tests/commands/each.rs b/crates/nu-command/tests/commands/each.rs index 7886a5aee6..deb07c910b 100644 --- a/crates/nu-command/tests/commands/each.rs +++ b/crates/nu-command/tests/commands/each.rs @@ -91,13 +91,3 @@ fn each_while_uses_optional_index_argument() { assert_eq!(actual.out, "[0, 1, 2, 3]"); } - -#[test] -fn par_each_uses_optional_index_argument() { - let actual = nu!( - cwd: ".", pipeline( - r#"[7 8 9 10] | par-each {|el ind| $ind } | to nuon"# - )); - - assert_eq!(actual.out, "[0, 1, 2, 3]"); -}