From 1bd60062d96b0bf97c48318a6c263585a1c7826e Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Tue, 20 Nov 2018 19:51:43 -0600 Subject: [PATCH] renamed a couple tests --- lighthouse/db/src/stores/beacon_block_store.rs | 4 ++-- lighthouse/db/src/stores/validator_store.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lighthouse/db/src/stores/beacon_block_store.rs b/lighthouse/db/src/stores/beacon_block_store.rs index 21cd2abc8f..54c8b7f9ce 100644 --- a/lighthouse/db/src/stores/beacon_block_store.rs +++ b/lighthouse/db/src/stores/beacon_block_store.rs @@ -121,7 +121,7 @@ mod tests { } #[test] - fn test_get_none_serialized_block() { + fn test_get_unknown_serialized_block() { let db = Arc::new(MemoryDB::open()); let store = BeaconBlockStore::new(db.clone()); @@ -146,7 +146,7 @@ mod tests { } #[test] - fn test_block_doesnt_exist() { + fn test_block_does_not_exist() { let db = Arc::new(MemoryDB::open()); let store = BeaconBlockStore::new(db.clone()); diff --git a/lighthouse/db/src/stores/validator_store.rs b/lighthouse/db/src/stores/validator_store.rs index a802a0d0e3..6e5c960ba4 100644 --- a/lighthouse/db/src/stores/validator_store.rs +++ b/lighthouse/db/src/stores/validator_store.rs @@ -98,7 +98,7 @@ mod tests { assert_eq!(public_key_at_index, public_key.as_bytes()); } - + #[test] fn test_get_public_key_by_index() { let db = Arc::new(MemoryDB::open()); @@ -118,7 +118,7 @@ mod tests { } #[test] - fn test_get_public_key_by_invalid_index() { + fn test_get_public_key_by_unknown_index() { let db = Arc::new(MemoryDB::open()); let store = ValidatorStore::new(db.clone());