Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Oct 17, 2023
1 parent 7c8a2ec commit 8a90f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encrypted_sled/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn test_encrypted_sled() {
let db_path = testdir!("encrypted_db");
let db = EncryptedDb::open(&db_path, get_test_password()).unwrap();

Check failure on line 7 in src/encrypted_sled/tests.rs

View workflow job for this annotation

GitHub Actions / lint (macos-latest)

the borrowed expression implements the required traits

// insert <key: value> -> returns None
// insert <key: value> -> return None
let res = db.insert("key", "value").unwrap();
assert!(res.is_none());

Expand Down

0 comments on commit 8a90f46

Please sign in to comment.