From 26cbe2b67ceffa707c9804a8abd330911fcf5375 Mon Sep 17 00:00:00 2001 From: Bob Farrell Date: Sat, 9 Mar 2024 14:33:54 +0000 Subject: [PATCH] Swap out importing jetzig.zig for explicit files containing tests Latest Zig nightly now hits a panic, probably we have a cyclic reference in the tree. We should fix this ASAP otherwise we risk adding tests without running them, but for now this should get builds passing again with latest Zig. --- src/tests.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests.zig b/src/tests.zig index 6bf0a52..0a79db0 100644 --- a/src/tests.zig +++ b/src/tests.zig @@ -1,5 +1,6 @@ test { - _ = @import("jetzig.zig"); _ = @import("jetzig/http/Query.zig"); + _ = @import("jetzig/http/Headers.zig"); + _ = @import("jetzig/http/Cookies.zig"); @import("std").testing.refAllDeclsRecursive(@This()); }