renamed a couple tests

This commit is contained in:
Grant Wuerker 2018-11-20 19:51:43 -06:00
parent 1c5d04d727
commit 1bd60062d9
2 changed files with 4 additions and 4 deletions

View File

@ -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());

View File

@ -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());