diff --git a/tests/test_db.rs b/tests/test_db.rs
index 03344bc..ecb0bb5 100644
--- a/tests/test_db.rs
+++ b/tests/test_db.rs
@@ -39,8 +39,7 @@ fn external() {
{
let db = DB::open_default(&path).unwrap();
- let p = db.put(b"k1", b"v1111");
- assert!(p.is_ok());
+ assert!(db.put(b"k1", b"v1111").is_ok());
let r: Result