Skip to content

Commit 2362714

Browse files
committed
Fix typo in unified_payment send test and improve test name.
1 parent 6546d48 commit 2362714

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
@@ -1393,7 +1393,7 @@ fn generate_bip21_uri() {
13931393
}
13941394

13951395
#[tokio::test(flavor = "multi_thread")]
1396-
async fn unified_qr_send_receive() {
1396+
async fn unified_send_receive_qr_uri() {
13971397
let (bitcoind, electrsd) = setup_bitcoind_and_electrsd();
13981398
let chain_source = TestChainSource::Esplora(&electrsd);
13991399

@@ -1441,7 +1441,7 @@ async fn unified_qr_send_receive() {
14411441
panic!("Expected Bolt12 payment but got Bolt11");
14421442
},
14431443
Ok(UnifiedPaymentResult::Onchain { txid: _ }) => {
1444-
panic!("Expected Bolt12 payment but get On-chain transaction");
1444+
panic!("Expected Bolt12 payment but got On-chain transaction");
14451445
},
14461446
Err(e) => {
14471447
panic!("Expected Bolt12 payment but got error: {:?}", e);

0 commit comments

Comments
 (0)