From c1c93f185bf62c8d5e0a00deeff3a777d9b5f439 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 7 Jan 2025 18:32:59 +0100 Subject: [PATCH] fix expected error message --- tests/transfers.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/transfers.rs b/tests/transfers.rs index 1b75d27..09049c3 100644 --- a/tests/transfers.rs +++ b/tests/transfers.rs @@ -510,9 +510,12 @@ fn rbf_transfer() { #[rstest] #[should_panic( - expected = "the invoice requirements can't be fulfilled using available assets or smart contract state." + expected = "called `Result::unwrap()` on an `Err` value: Composition(InsufficientState)" )] #[case(TransferType::Blinded)] +#[should_panic( + expected = "called `Result::unwrap()` on an `Err` value: Composition(InsufficientState)" +)] #[case(TransferType::Witness)] fn same_transfer_twice_no_update_witnesses(#[case] transfer_type: TransferType) { println!("transfer_type {transfer_type:?}");