aboutsummaryrefslogtreecommitdiff
path: root/src/json_parser.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/json_parser.zig')
-rw-r--r--src/json_parser.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json_parser.zig b/src/json_parser.zig
index acd368ab0..0704d1aaa 100644
--- a/src/json_parser.zig
+++ b/src/json_parser.zig
@@ -273,7 +273,7 @@ fn expectPrintedJSON(_contents: string, expected: string) !void {
}
test "ParseJSON" {
- try alloc.setup(std.heap.c_allocator);
+ try alloc.setup(default_allocator);
try expectPrintedJSON("true", "true");
try expectPrintedJSON("false", "false");
try expectPrintedJSON("1", "1");