Skip to content

Commit b6ebe73

Browse files
committed
Fix typo and improve unified payment test name
Correct a minor typo in the unified_payment send test. The test name is also updated to be more descriptive of the behavior being validated.
1 parent bd6150a commit b6ebe73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests_rust.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ async fn generate_bip21_uri() {
15861586
}
15871587

15881588
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
1589-
async fn unified_qr_send_receive() {
1589+
async fn unified_send_receive_qr_uri() {
15901590
let (bitcoind, electrsd) = setup_bitcoind_and_electrsd();
15911591
let chain_source = TestChainSource::Esplora(&electrsd);
15921592

@@ -1636,7 +1636,7 @@ async fn unified_qr_send_receive() {
16361636
panic!("Expected Bolt12 payment but got Bolt11");
16371637
},
16381638
Ok(UnifiedPaymentResult::Onchain { txid: _ }) => {
1639-
panic!("Expected Bolt12 payment but get On-chain transaction");
1639+
panic!("Expected Bolt12 payment but got On-chain transaction");
16401640
},
16411641
Err(e) => {
16421642
panic!("Expected Bolt12 payment but got error: {:?}", e);

0 commit comments

Comments
 (0)