Skip to content

Commit b26495c

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 ce4642b commit b26495c

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

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

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

0 commit comments

Comments
 (0)