Skip to content

Commit c9b7af5

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 2605590 commit c9b7af5

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
@@ -1568,7 +1568,7 @@ async fn generate_bip21_uri() {
15681568
}
15691569

15701570
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
1571-
async fn unified_qr_send_receive() {
1571+
async fn unified_send_receive_qr_uri() {
15721572
let (bitcoind, electrsd) = setup_bitcoind_and_electrsd();
15731573
let chain_source = TestChainSource::Esplora(&electrsd);
15741574

@@ -1618,7 +1618,7 @@ async fn unified_qr_send_receive() {
16181618
panic!("Expected Bolt12 payment but got Bolt11");
16191619
},
16201620
Ok(UnifiedPaymentResult::Onchain { txid: _ }) => {
1621-
panic!("Expected Bolt12 payment but get On-chain transaction");
1621+
panic!("Expected Bolt12 payment but got On-chain transaction");
16221622
},
16231623
Err(e) => {
16241624
panic!("Expected Bolt12 payment but got error: {:?}", e);

0 commit comments

Comments
 (0)