Files
browser/src
Navid EMAD 53b41966fd network: send empty params test cases as raw JSON
The empty Zig anonymous struct `.{}` serializes to `[]` (tuple → JSON
array), not `{}`. The dispatch path's `InputParams.jsonParse` requires
the params field to begin with `object_begin`, so the previous test
fixtures hit `error.UnexpectedToken` → `error.InvalidJSON` instead of
exercising the production code paths.

Switch the two empty-params test cases to raw JSON string literals,
which the testing helper passes through unchanged (string literals are
pointer types and skip `std.json.Stringify.valueAlloc`). The production
code paths under test are unchanged.
2026-04-27 04:56:57 +02:00
..
2026-04-22 08:42:18 +08:00
2026-04-25 13:22:41 +08:00
2026-04-23 15:48:13 +08:00
2026-04-25 13:22:41 +08:00
2026-04-20 17:13:06 +08:00
2026-04-23 16:21:56 +08:00
2026-04-10 06:51:10 +08:00
2026-04-22 08:42:18 +08:00
2026-04-22 08:42:18 +08:00
2026-04-23 15:48:13 +08:00
2026-04-24 12:40:25 +01:00
2026-01-24 07:59:41 +08:00