From ad528e60e66849b97198879cf348825123dc610b Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Tue, 16 Apr 2024 22:29:59 +1000 Subject: [PATCH] Added non-sorted disclosure --- cmdlang/testbuiltins_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdlang/testbuiltins_test.go b/cmdlang/testbuiltins_test.go index 59c14e3..c42c218 100644 --- a/cmdlang/testbuiltins_test.go +++ b/cmdlang/testbuiltins_test.go @@ -183,6 +183,7 @@ func TestBuiltins_ForEach(t *testing.T) { foreach ["1" "2" "3"] { |v| echo $v }`, want: "1\n2\n3\n(nil)\n"}, + // TODO: hash is not sorted, so need to find a way to sort it {desc: "iterate over map", expr: ` foreach [a:"1"] { |k v| echo $k "=" $v }`, want: "a=1\n(nil)\n"}, }