Skip to content

Commit

Permalink
Switch to 'modern' type enum check
Browse files Browse the repository at this point in the history
Necessary to build ZTAP with the latest master branch.
  • Loading branch information
mnemnion committed Sep 13, 2024
1 parent 66404ab commit 528e9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ztap.zig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn ztap_test(builtin: anytype) void {
// Make sure we have tests to run.
const builtin_info = @typeInfo(builtin);
switch (builtin_info) {
.Struct => {
.@"struct" => {
if (!@hasDecl(builtin, "test_functions")) {
// Empty plan.
_ = stdout.writeAll("1..0\n") catch 0;
Expand Down

0 comments on commit 528e9a7

Please sign in to comment.