From 00940b9329d4adf88a5113ce2449b417c9bf4b44 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Wed, 27 Nov 2024 18:29:08 +0700 Subject: [PATCH] Fix some stdlib tests --- core/stdlib/std.ncl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/stdlib/std.ncl b/core/stdlib/std.ncl index 8b9eb3d016..c2cca66374 100644 --- a/core/stdlib/std.ncl +++ b/core/stdlib/std.ncl @@ -2858,7 +2858,7 @@ # => [ "one", "two" ] std.record.fields_with_opts { one = 1, two = 2, three_opt | optional } - # => [ "one", "two", "three_opt" ] + # => [ "one", "three_opt", "two" ] ``` "% = fun r => %record/fields_with_opts% r, @@ -3207,7 +3207,7 @@ ```nickel std.record.to_array { hello = "world", foo = "bar" } - # => [ { field = "hello", value = "world" }, { field = "foo", value = "bar" } ] + # => [ { field = "foo", value = "bar" }, { field = "hello", value = "world" } ] ``` "% = fun record =>