diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-08-28 15:35:47 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-08-28 15:35:47 -0400 |
commit | a2b98af08902ce1c59a7521d2e491c3cc5c330f4 (patch) | |
tree | ef704df370a6c32905d7fce1e3b3c290cc3ed4a6 /src/db.rs | |
parent | 251f72e29ee333196c31224f506649dbfc15cc41 (diff) | |
download | clinte-a2b98af08902ce1c59a7521d2e491c3cc5c330f4.tar.gz |
tests in makefile, cleaned db test
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
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(); } } |