Skip to content

Commit 653fd60

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 2d26961 commit 653fd60

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

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

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

0 commit comments

Comments
 (0)