renamed a couple tests
This commit is contained in:
parent
1c5d04d727
commit
1bd60062d9
@ -121,7 +121,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_get_none_serialized_block() {
|
fn test_get_unknown_serialized_block() {
|
||||||
let db = Arc::new(MemoryDB::open());
|
let db = Arc::new(MemoryDB::open());
|
||||||
let store = BeaconBlockStore::new(db.clone());
|
let store = BeaconBlockStore::new(db.clone());
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_block_doesnt_exist() {
|
fn test_block_does_not_exist() {
|
||||||
let db = Arc::new(MemoryDB::open());
|
let db = Arc::new(MemoryDB::open());
|
||||||
let store = BeaconBlockStore::new(db.clone());
|
let store = BeaconBlockStore::new(db.clone());
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ mod tests {
|
|||||||
|
|
||||||
assert_eq!(public_key_at_index, public_key.as_bytes());
|
assert_eq!(public_key_at_index, public_key.as_bytes());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_get_public_key_by_index() {
|
fn test_get_public_key_by_index() {
|
||||||
let db = Arc::new(MemoryDB::open());
|
let db = Arc::new(MemoryDB::open());
|
||||||
@ -118,7 +118,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_get_public_key_by_invalid_index() {
|
fn test_get_public_key_by_unknown_index() {
|
||||||
let db = Arc::new(MemoryDB::open());
|
let db = Arc::new(MemoryDB::open());
|
||||||
let store = ValidatorStore::new(db.clone());
|
let store = ValidatorStore::new(db.clone());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user