Skip to content

Commit

Permalink
Merge branch 'tim/transparent-session-share' into 'master'
Browse files Browse the repository at this point in the history
fix(test): sdk-native was throwing the wrong error message

See merge request TankerHQ/sdk-rust!150
  • Loading branch information
tux3 committed Nov 18, 2022
2 parents 9de688c + 5988fdf commit f5594cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tanker_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ async fn encrypt_no_share_with_self() -> Result<(), Error> {
let _ = bob.decrypt(&encrypted).await.unwrap();
let err = alice.decrypt(&encrypted).await.unwrap_err();
assert_eq!(err.code(), ErrorCode::InvalidArgument);
assert!(err.message().contains("can't find keys"));
assert!(err.message().contains("key not found"));

alice.stop().await?;
bob.stop().await?;
Expand Down

0 comments on commit f5594cb

Please sign in to comment.