From b4040f0a82267f41e92514f924ec2a3f2f442c72 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 12 Jan 2021 11:49:44 +1100 Subject: [PATCH] Update test names to reflect what they are doing These tests are testing more than just the signature serialization. --- src/key.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/key.rs b/src/key.rs index b7f854f..eb13ed3 100644 --- a/src/key.rs +++ b/src/key.rs @@ -868,7 +868,7 @@ mod test { #[cfg(feature = "serde")] #[test] - fn test_signature_serde() { + fn test_serde() { use serde_test::{Configure, Token, assert_tokens}; static SK_BYTES: [u8; 32] = [ 1, 1, 1, 1, 1, 1, 1, 1, diff --git a/src/lib.rs b/src/lib.rs index c787eb2..73a9734 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1241,7 +1241,7 @@ mod tests { #[cfg(feature = "serde")] #[cfg(not(rust_secp_fuzz))] // fixed sig vectors can't work with fuzz-sigs #[test] - fn test_signature_serde() { + fn test_serde() { use serde_test::{Configure, Token, assert_tokens}; let s = Secp256k1::new();