Skip to content

Commit

Permalink
fix: Actually test macos/windows backends
Browse files Browse the repository at this point in the history
  • Loading branch information
mochalins committed Jan 9, 2025
1 parent 1585573 commit aa5324e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/serialport.zig
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ test {

switch (builtin.target.os.tag) {
.linux => std.testing.refAllDeclsRecursive(linux),
else => std.testing.refAllDeclsRecursive(builtin),
.macos => std.testing.refAllDeclsRecursive(macos),
.windows => std.testing.refAllDeclsRecursive(windows),
else => @compileError("unsupported OS"),
}
}

0 comments on commit aa5324e

Please sign in to comment.