Skip to content

Commit c1c93f1

Browse files
committed
fix expected error message
1 parent 1306e43 commit c1c93f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/transfers.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,12 @@ fn rbf_transfer() {
510510

511511
#[rstest]
512512
#[should_panic(
513-
expected = "the invoice requirements can't be fulfilled using available assets or smart contract state."
513+
expected = "called `Result::unwrap()` on an `Err` value: Composition(InsufficientState)"
514514
)]
515515
#[case(TransferType::Blinded)]
516+
#[should_panic(
517+
expected = "called `Result::unwrap()` on an `Err` value: Composition(InsufficientState)"
518+
)]
516519
#[case(TransferType::Witness)]
517520
fn same_transfer_twice_no_update_witnesses(#[case] transfer_type: TransferType) {
518521
println!("transfer_type {transfer_type:?}");

0 commit comments

Comments
 (0)