From cf0ad9b11707abef27ee4acd00f3cfd679eeff23 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 30 Aug 2019 20:00:42 -0400 Subject: fixed broken test, expanded test --- src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db.rs') diff --git a/src/db.rs b/src/db.rs index b79a789..d09ce21 100644 --- a/src/db.rs +++ b/src/db.rs @@ -18,7 +18,7 @@ pub struct Conn { } impl Conn { - fn init(path: &str) -> rusqlite::Connection { + pub fn init(path: &str) -> rusqlite::Connection { let start = time::Instant::now(); info!("Connecting to database"); let conn = rusqlite::Connection::open_with_flags( -- cgit 1.4.1-2-gfad0