Skip to content

Commit 72454ad

Browse files
committed
Fix typo in unified_payment send test and improve test name.
1 parent 2489eae commit 72454ad

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
@@ -1413,7 +1413,7 @@ fn generate_bip21_uri() {
14131413
}
14141414

14151415
#[tokio::test(flavor = "multi_thread")]
1416-
async fn unified_qr_send_receive() {
1416+
async fn unified_send_receive_qr_uri() {
14171417
let (bitcoind, electrsd) = setup_bitcoind_and_electrsd();
14181418
let chain_source = TestChainSource::Esplora(&electrsd);
14191419

@@ -1461,7 +1461,7 @@ async fn unified_qr_send_receive() {
14611461
panic!("Expected Bolt12 payment but got Bolt11");
14621462
},
14631463
Ok(UnifiedPaymentResult::Onchain { txid: _ }) => {
1464-
panic!("Expected Bolt12 payment but get On-chain transaction");
1464+
panic!("Expected Bolt12 payment but got On-chain transaction");
14651465
},
14661466
Err(e) => {
14671467
panic!("Expected Bolt12 payment but got error: {:?}", e);

0 commit comments

Comments
 (0)