Skip to content

Commit

Permalink
fix expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 7, 2025
1 parent 1306e43 commit c1c93f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/transfers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}");
Expand Down

0 comments on commit c1c93f1

Please sign in to comment.