summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index a37f6a0..54e6b4b 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,4 +1,5 @@
const std = @import("std");
+const zws = @import("zigwebserver.zig");
// extremely basic http file server
pub fn main() !void {
@@ -61,3 +62,7 @@ fn serve_error(res: *std.http.Server.Response, status: std.http.Status) !void {
\\ <!doctype html><html><body>{s}</body></html>
, .{phrase});
}
+
+test {
+ _ = zws;
+}