diff --git a/build.zig.zon b/build.zig.zon index 20793a6..1c5a88b 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -7,8 +7,8 @@ .hash = "1220d0e8734628fd910a73146e804d10a3269e3e7d065de6bb0e3e88d5ba234eb163", }, .zmpl = .{ - .url = "https://github.com/jetzig-framework/zmpl/archive/bf903d8e3decc1124aa90ec4e812e41e2aea382c.tar.gz", - .hash = "12209a9d6f652ce712448da1bd41517cceef8eebf86884c1bb29c02fc3a933713afd", + .url = "https://github.com/jetzig-framework/zmpl/archive/5826b34d2c13b85d9f387f7b3a26e00dd3f36a54.tar.gz", + .hash = "1220fd9f21e133d0aa4e8666a7904fa4d28a0a1b0bb11db948268eab722d7dedd22c", }, .jetkv = .{ .url = "https://github.com/jetzig-framework/jetkv/archive/2b1130a48979ea2871c8cf6ca89c38b1e7062839.tar.gz", diff --git a/src/jetzig/testing.zig b/src/jetzig/testing.zig index 12968eb..e0b6908 100644 --- a/src/jetzig/testing.zig +++ b/src/jetzig/testing.zig @@ -151,7 +151,7 @@ pub fn expectJson(expected_path: []const u8, expected_value: anytype, response: const json_banner = "\n{s}"; - if (try data.getValue(std.mem.trimLeft(u8, expected_path, &.{'.'}))) |value| { + if (data.ref(std.mem.trimLeft(u8, expected_path, &.{'.'}))) |value| { switch (value.*) { .string => |string| switch (@typeInfo(@TypeOf(expected_value))) { .pointer, .array => {