Update test names to reflect what they are doing

These tests are testing more than just the signature serialization.
This commit is contained in:
Thomas Eizinger 2021-01-12 11:49:44 +11:00
parent 1f08a313e5
commit b4040f0a82
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
2 changed files with 2 additions and 2 deletions

View File

@ -868,7 +868,7 @@ mod test {
#[cfg(feature = "serde")] #[cfg(feature = "serde")]
#[test] #[test]
fn test_signature_serde() { fn test_serde() {
use serde_test::{Configure, Token, assert_tokens}; use serde_test::{Configure, Token, assert_tokens};
static SK_BYTES: [u8; 32] = [ static SK_BYTES: [u8; 32] = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,

View File

@ -1241,7 +1241,7 @@ mod tests {
#[cfg(feature = "serde")] #[cfg(feature = "serde")]
#[cfg(not(rust_secp_fuzz))] // fixed sig vectors can't work with fuzz-sigs #[cfg(not(rust_secp_fuzz))] // fixed sig vectors can't work with fuzz-sigs
#[test] #[test]
fn test_signature_serde() { fn test_serde() {
use serde_test::{Configure, Token, assert_tokens}; use serde_test::{Configure, Token, assert_tokens};
let s = Secp256k1::new(); let s = Secp256k1::new();