summary refs log tree commit diff stats
path: root/src/db.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-28 15:35:47 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-28 15:35:47 -0400
commita2b98af08902ce1c59a7521d2e491c3cc5c330f4 (patch)
treeef704df370a6c32905d7fce1e3b3c290cc3ed4a6 /src/db.rs
parent251f72e29ee333196c31224f506649dbfc15cc41 (diff)
downloadclinte-a2b98af08902ce1c59a7521d2e491c3cc5c330f4.tar.gz
tests in makefile, cleaned db test
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 f892c10..07655c5 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -64,6 +64,6 @@ mod tests {
         let conn = Conn::init("/tmp/clinte-test.db");
         let mut stmt = conn.prepare("SELECT * FROM POSTS").unwrap();
 
-        stmt.query_map(rusqlite::NO_PARAMS, |row| Ok(()));
+        stmt.query_map(rusqlite::NO_PARAMS, |_| Ok(())).unwrap();
     }
 }