Merge rust-bitcoin/rust-bitcoin#4332: fix typo in test function name
a697af9755
Update tests.rs (Maxim Evtush) Pull request description: Description: This PR fixes a typo in the test function name `p2pk_pubkey_bytes_emptry_script_returns_none()` by correcting 'emptry' to 'empty'. This is a minor correction that improves code readability without affecting functionality. ACKs for top commit: tcharding: ACKa697af9755
apoelstra: ACK a697af97558332950a1b6c088eed9a1cde85c709; successfully ran local tests Tree-SHA512: 8fd8b29a4d0e0dfac8769eaf6b9c7bfaea395f58ce58280410dbe8cbcda7e52bc15e542034826c7e7f1a0117256d99dca43789015c3f0e946acbf9714d8c5562
This commit is contained in:
commit
7c51612136
|
@ -65,7 +65,7 @@ fn p2pk_pubkey_bytes_no_checksig_returns_none() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn p2pk_pubkey_bytes_emptry_script_returns_none() {
|
||||
fn p2pk_pubkey_bytes_empty_script_returns_none() {
|
||||
let empty_script = Script::builder().into_script();
|
||||
assert!(empty_script.p2pk_pubkey_bytes().is_none());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue