diff --git a/crates/nu-std/std/testing.nu b/crates/nu-std/std/testing.nu index 24e3dffb1..9a39e36a7 100644 --- a/crates/nu-std/std/testing.nu +++ b/crates/nu-std/std/testing.nu @@ -134,7 +134,7 @@ def show-pretty-test [indent: int = 4] { let test = $in [ - (1..$indent | map {" "} | str join) + (1..$indent | each {" "} | str join) (match $test.result { "pass" => { ansi green }, "skip" => { ansi yellow },