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 Dec 24, 2024
1 parent 71e24b2 commit 7622fe5
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 @@ -3013,7 +3013,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 @@ -3363,7 +3363,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 7622fe5

Please sign in to comment.