|
@@ -866,9 +866,9 @@ async fn test_fake_mint_input_output_mismatch() -> Result<()> {
|
|
|
|
|
|
match response {
|
|
|
Err(err) => match err {
|
|
|
- cdk::Error::UnsupportedUnit => (),
|
|
|
- _ => {
|
|
|
- bail!("Wrong error returned");
|
|
|
+ cdk::Error::UnitMismatch => (),
|
|
|
+ err => {
|
|
|
+ bail!("Wrong error returned: {}", err);
|
|
|
}
|
|
|
},
|
|
|
Ok(_) => {
|