diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-24 05:34:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-24 05:34:13 -0400 |
| commit | bb0419599aa93455f3ae0969f4bfd80204807596 (patch) | |
| tree | edce35a16131dbe5ce31a62cbbf7ac8f2dfca0bc /lib/std/json/test.zig | |
| parent | b477279c37d1ca1c141a3e30589bd974687b85cc (diff) | |
| parent | f7482a5c95dd549eb3da103eab42bac881ba0498 (diff) | |
| download | zig-bb0419599aa93455f3ae0969f4bfd80204807596.tar.gz zig-bb0419599aa93455f3ae0969f4bfd80204807596.zip | |
Merge pull request #17666 from jacobly0/x86_64-unicode
x86_64: pass more std tests
Diffstat (limited to 'lib/std/json/test.zig')
| -rw-r--r-- | lib/std/json/test.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/json/test.zig b/lib/std/json/test.zig index 453a324b20..51c54a14aa 100644 --- a/lib/std/json/test.zig +++ b/lib/std/json/test.zig @@ -1,5 +1,4 @@ const std = @import("std"); -const builtin = @import("builtin"); const testing = std.testing; const parseFromSlice = @import("./static.zig").parseFromSlice; const validate = @import("./scanner.zig").validate; @@ -35,15 +34,13 @@ fn testHighLevelDynamicParser(s: []const u8) !void { // Additional tests not part of test JSONTestSuite. test "y_trailing_comma_after_empty" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (@import("builtin").zig_backend == .stage2_x86_64) return error.SkipZigTest; try roundTrip( \\{"1":[],"2":{},"3":"4"} ); } test "n_object_closed_missing_value" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - try err( \\{"a":} ); |
