diff options
| author | Lewis Gaul <Lewis@scphillips.com> | 2021-04-05 00:27:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 19:27:47 -0400 |
| commit | 7302b096bd6e4274080eab051f6f3e1ab49213b9 (patch) | |
| tree | 0f9f8178bf508a86967f436efc3fa95de08c4330 /src/codegen.zig | |
| parent | c9ffb6f734567ecb2a368d0d8786e9d1365f42b8 (diff) | |
| download | zig-7302b096bd6e4274080eab051f6f3e1ab49213b9.tar.gz zig-7302b096bd6e4274080eab051f6f3e1ab49213b9.zip | |
Tidy-up in json test module (#8431)
* Switch json testing 'roundTrip()' to use FixedBufferStream, improve error handling, remove comptime from param
* Add 'try' to calls to roundTrip() that can now return an error
* Remove comptime from params in json testing, replace expect(false) with letting error propagate
* Add 'try' to calls to ok() that can now return an error
Co-authored-by: Lewis Gaul <legaul@cisco.com>
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
