Skip to content

Commit 869839a

Browse files
committed
Fix typo in unified_payment send test and improve test name.
1 parent f1d1fa1 commit 869839a

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
@@ -1275,7 +1275,7 @@ fn generate_bip21_uri() {
12751275
}
12761276

12771277
#[tokio::test(flavor = "multi_thread")]
1278-
async fn unified_qr_send_receive() {
1278+
async fn unified_send_receive_qr_uri() {
12791279
let (bitcoind, electrsd) = setup_bitcoind_and_electrsd();
12801280
let chain_source = TestChainSource::Esplora(&electrsd);
12811281

@@ -1323,7 +1323,7 @@ async fn unified_qr_send_receive() {
13231323
panic!("Expected Bolt12 payment but got Bolt11");
13241324
},
13251325
Ok(UnifiedPaymentResult::Onchain { txid: _ }) => {
1326-
panic!("Expected Bolt12 payment but get On-chain transaction");
1326+
panic!("Expected Bolt12 payment but got On-chain transaction");
13271327
},
13281328
Err(e) => {
13291329
panic!("Expected Bolt12 payment but got error: {:?}", e);

0 commit comments

Comments
 (0)