Skip to content

Commit 3f231d1

Browse files
Use a more aligned error for testing
1 parent 86f3946 commit 3f231d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mobile_config/src/key_cache.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ mod tests {
174174

175175
impl MsgVerify for VerifiedBad {
176176
fn verify(&self, _verifier: &helium_crypto::PublicKey) -> file_store::Result {
177-
Err(file_store::Error::NotFound("not found".to_string()))
177+
Err(file_store::Error::ExternalError(
178+
"testing bad verification".into(),
179+
))
178180
}
179181
}
180182

0 commit comments

Comments
 (0)