add(test): test execution into zterm test build
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 28s

This commit is contained in:
2024-11-09 21:29:49 +01:00
parent 6d389bcd4b
commit c83cf530ce
3 changed files with 9 additions and 0 deletions

View File

@@ -205,3 +205,7 @@ fn getReportMode(ps: u8) ReportMode {
else => ReportMode.not_recognized,
};
}
test {
_ = @import("terminal/style.zig");
}

View File

@@ -283,3 +283,7 @@ pub fn value(this: @This(), writer: anytype, content: []const u8) !void {
// TODO: implement helper functions for terminal capabilities:
// - links / url display (osc 8)
// - show / hide cursor?
test {
_ = Color;
}

View File

@@ -8,5 +8,6 @@ pub const Key = terminal.Key;
pub const Size = terminal.Size;
test {
_ = @import("terminal.zig");
_ = @import("queue.zig");
}