fix(base): Remove an unnecessary unwrap from a test

This commit is contained in:
Damir Jelić 2021-09-09 12:01:15 +02:00
parent b09b667782
commit 13b97f6dba

View file

@ -1183,7 +1183,7 @@ mod test {
async fn test_custom_storage() -> Result<()> {
let key = "my_key";
let value = &[0, 1, 2, 3];
let store = SledStore::open().unwrap();
let store = SledStore::open()?;
store.set_custom_value(key.as_bytes(), value.to_vec()).await?;