Skip to content

Commit d9f21e0

Browse files
authored
add empty cases to empty test suite (#594)
1 parent ca3fa3d commit d9f21e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_wpt.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const Writer = struct {
208208
// to make it valid json.
209209
// Better option could be to change the formatter to work on JSONL:
210210
// https://github.com/lightpanda-io/perf-fmt/blob/main/wpt/wpt.go
211-
try self.out.writeAll("{\"name\":\"trailing-hack\",\"pass\": true}]");
211+
try self.out.writeAll("{\"name\":\"empty\",\"pass\": true, \"cases\": []}]");
212212
} else {
213213
try self.out.print("\n==Summary==\nTests: {d}/{d}\nCases: {d}/{d}\n", .{
214214
self.pass_count,

0 commit comments

Comments
 (0)