Skip to content

Commit

Permalink
Add negative unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rorp committed Nov 3, 2024
1 parent fe1fb50 commit b684353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlc-messages/src/oracle_msgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ mod tests {
fn invalid_oracle_announcement_fails_validation_test() {
let key_pair = Keypair::new(SECP256K1, &mut thread_rng());
let oracle_pubkey = XOnlyPublicKey::from_keypair(&key_pair).0;
let events = [digit_event(9), enum_event(2)];
let events = [digit_event(9), signed_digit_event(10), enum_event(2)];
for event in events {
let mut event_hex = Vec::new();
event
Expand Down

0 comments on commit b684353

Please sign in to comment.