mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 06:14:38 +00:00
Shuffling and sanity tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use super::*;
|
||||
use compare_fields::{CompareFields, Comparison, FieldComparison};
|
||||
use std::fmt::Debug;
|
||||
use std::path::PathBuf;
|
||||
use types::BeaconState;
|
||||
|
||||
pub const MAX_VALUE_STRING_LEN: usize = 500;
|
||||
@@ -9,6 +10,7 @@ pub const MAX_VALUE_STRING_LEN: usize = 500;
|
||||
pub struct CaseResult {
|
||||
pub case_index: usize,
|
||||
pub desc: String,
|
||||
pub path: PathBuf,
|
||||
pub result: Result<(), Error>,
|
||||
}
|
||||
|
||||
@@ -17,6 +19,7 @@ impl CaseResult {
|
||||
CaseResult {
|
||||
case_index,
|
||||
desc: case.description(),
|
||||
path: case.path().into(),
|
||||
result,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user