about summary refs log tree commit diff stats
path: root/src/db.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-30 20:00:42 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-30 20:00:42 -0400
commitcf0ad9b11707abef27ee4acd00f3cfd679eeff23 (patch)
treecad84ab5be8f3af9fb0f210753744b1497423815 /src/db.rs
parentcf6e3518160a3cff9892483a085080a0c92bd318 (diff)
downloadclinte-cf0ad9b11707abef27ee4acd00f3cfd679eeff23.tar.gz
fixed broken test, expanded test v0.3.3
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs2
1 files changed, 1 insertions, 1 deletions
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(
ref='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184