Skip to content

Commit

Permalink
test "empty map"
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenzek committed Aug 28, 2024
1 parent cec4150 commit 73188a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/parse/test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,14 @@ test "empty list" {
);
}

test "empty map" {
try parseSuccess(
\\a:
\\ b: {}
\\ c: { }
);
}

test "comment within a bracketed list is an error" {
try parseError(
\\[ # something
Expand Down

0 comments on commit 73188a6

Please sign in to comment.