Update Zmpl - @for fixes and partial arg type coercion

This commit is contained in:
Bob Farrell 2024-11-08 19:42:39 +00:00
parent 3861bd8dea
commit 94ce83b425
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@
.hash = "1220d0e8734628fd910a73146e804d10a3269e3e7d065de6bb0e3e88d5ba234eb163", .hash = "1220d0e8734628fd910a73146e804d10a3269e3e7d065de6bb0e3e88d5ba234eb163",
}, },
.zmpl = .{ .zmpl = .{
.url = "https://github.com/jetzig-framework/zmpl/archive/bf903d8e3decc1124aa90ec4e812e41e2aea382c.tar.gz", .url = "https://github.com/jetzig-framework/zmpl/archive/5826b34d2c13b85d9f387f7b3a26e00dd3f36a54.tar.gz",
.hash = "12209a9d6f652ce712448da1bd41517cceef8eebf86884c1bb29c02fc3a933713afd", .hash = "1220fd9f21e133d0aa4e8666a7904fa4d28a0a1b0bb11db948268eab722d7dedd22c",
}, },
.jetkv = .{ .jetkv = .{
.url = "https://github.com/jetzig-framework/jetkv/archive/2b1130a48979ea2871c8cf6ca89c38b1e7062839.tar.gz", .url = "https://github.com/jetzig-framework/jetkv/archive/2b1130a48979ea2871c8cf6ca89c38b1e7062839.tar.gz",

View File

@ -151,7 +151,7 @@ pub fn expectJson(expected_path: []const u8, expected_value: anytype, response:
const json_banner = "\n{s}"; 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.*) { switch (value.*) {
.string => |string| switch (@typeInfo(@TypeOf(expected_value))) { .string => |string| switch (@typeInfo(@TypeOf(expected_value))) {
.pointer, .array => { .pointer, .array => {