Remove erroneous test (#7179)

This commit is contained in:
Leon 2022-11-22 02:04:36 +10:00 committed by GitHub
parent 833825ae9a
commit 7bcd96fc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]");
}