From a2b98af08902ce1c59a7521d2e491c3cc5c330f4 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Wed, 28 Aug 2019 15:35:47 -0400 Subject: tests in makefile, cleaned db test --- src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } } -- cgit 1.4.1-2-gfad0