mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 06:44:35 +00:00
Rename Test trait to EfTest
This commit is contained in:
@@ -16,8 +16,8 @@ impl YamlDecode for SszGeneric {
|
||||
}
|
||||
}
|
||||
|
||||
impl Test for Cases<SszGeneric> {
|
||||
fn test<E: EthSpec>(&self) -> Vec<TestCaseResult> {
|
||||
impl EfTest for Cases<SszGeneric> {
|
||||
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult> {
|
||||
self.test_cases
|
||||
.iter()
|
||||
.enumerate()
|
||||
@@ -42,7 +42,7 @@ impl Test for Cases<SszGeneric> {
|
||||
Ok(())
|
||||
};
|
||||
|
||||
TestCaseResult::new(i, tc, result)
|
||||
CaseResult::new(i, tc, result)
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
@@ -41,8 +41,8 @@ impl SszStatic {
|
||||
}
|
||||
}
|
||||
|
||||
impl Test for Cases<SszStatic> {
|
||||
fn test<E: EthSpec>(&self) -> Vec<TestCaseResult> {
|
||||
impl EfTest for Cases<SszStatic> {
|
||||
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult> {
|
||||
self.test_cases
|
||||
.iter()
|
||||
.enumerate()
|
||||
@@ -76,7 +76,7 @@ impl Test for Cases<SszStatic> {
|
||||
))),
|
||||
};
|
||||
|
||||
TestCaseResult::new(i, tc, result)
|
||||
CaseResult::new(i, tc, result)
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user