Wire up new tests and flags

This commit is contained in:
tonythetender 2025-12-01 06:55:29 -05:00
parent d13d5f6499
commit 0bc2f0dd98

View file

@ -4,8 +4,8 @@ pub const transport = @import("transport.zig");
pub const server = @import("server.zig");
/// Convenience wrapper to launch the server using stdin/stdout from other modules.
pub fn runWithStdIo(allocator: std.mem.Allocator, debug_transport: bool) !void {
try server.runWithStdIo(allocator, debug_transport);
pub fn runWithStdIo(allocator: std.mem.Allocator, debug: server.DebugOptions) !void {
try server.runWithStdIo(allocator, debug);
}
test "lsp tests" {
@ -13,4 +13,5 @@ test "lsp tests" {
std.testing.refAllDecls(@import("test/server_test.zig"));
std.testing.refAllDecls(@import("test/transport_test.zig"));
std.testing.refAllDecls(@import("test/document_store_test.zig"));
std.testing.refAllDecls(@import("test/syntax_test.zig"));
}