mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
terminal: move tests into main
This commit is contained in:
@ -631,12 +631,6 @@ fn getOrPutCell(self: *Terminal, alloc: Allocator, x: usize, y: usize) !*Cell {
|
||||
return &line.items[x];
|
||||
}
|
||||
|
||||
test {
|
||||
_ = @import("osc.zig");
|
||||
_ = Parser;
|
||||
_ = Tabstops;
|
||||
}
|
||||
|
||||
test "Terminal: input with no control characters" {
|
||||
var t = try init(testing.allocator, 80, 80);
|
||||
defer t.deinit(testing.allocator);
|
||||
|
@ -1,11 +1,13 @@
|
||||
pub const Terminal = @import("Terminal.zig");
|
||||
pub const Parser = @import("Parser.zig");
|
||||
|
||||
// Not exported because they're just used for tests.
|
||||
|
||||
test {
|
||||
_ = Parser;
|
||||
_ = Terminal;
|
||||
|
||||
_ = @import("osc.zig");
|
||||
_ = @import("parse_table.zig");
|
||||
_ = @import("Parser.zig");
|
||||
_ = @import("Tabstops.zig");
|
||||
}
|
||||
|
Reference in New Issue
Block a user