Skip to content

Commit

Permalink
Fix some stdlib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed Nov 27, 2024
1 parent 2df94aa commit 00940b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/stdlib/std.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 =>
Expand Down

0 comments on commit 00940b9

Please sign in to comment.