Skip to content

Commit

Permalink
Swap out importing jetzig.zig for explicit files containing tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bobf committed Mar 9, 2024
1 parent d5a8f24 commit 26cbe2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests.zig
Original file line number Diff line number Diff line change
@@ -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());
}

0 comments on commit 26cbe2b

Please sign in to comment.