Skip to content

Commit

Permalink
Cleanup insert example verification (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle authored Oct 20, 2023
1 parent 39d911e commit fc7fb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewood/examples/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async fn verify_keys(
let hash = db.root_hash().await?;
let revision = db.revision(hash).await?;
for (key, value) in verify {
assert_eq!(*value, revision.val(key).await?.unwrap());
assert_eq!(Some(value), revision.val(key).await?);
}
}
Ok(())
Expand Down

0 comments on commit fc7fb02

Please sign in to comment.