summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index df11bea..14e1810 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,5 +1,5 @@
const std = @import("std");
-const Db = @import("./db.zig");
+pub const Db = @import("./db.zig");
pub fn main() !void {
var database = try Db.init(":memory:");
@@ -7,3 +7,7 @@ pub fn main() !void {
var connection = try database.connect();
defer connection.deinit();
}
+
+test {
+ std.testing.refAllDecls(@This());
+}