This approach seems nice, and as a bonus it makes it easier to run the tests through the module interface rather than by importing the sources directly, which I think is a good dog food approach.
6 lines
72 B
Zig
6 lines
72 B
Zig
const std = @import("std");
|
|
|
|
test {
|
|
_ = @import("./message.zig");
|
|
}
|