mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Improve ef_tests crate
This commit is contained in:
9
tests/ef_tests/src/error.rs
Normal file
9
tests/ef_tests/src/error.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
pub enum Error {
|
||||
/// The value in the test didn't match our value.
|
||||
NotEqual(String),
|
||||
/// The test specified a failure and we did not experience one.
|
||||
DidntFail(String),
|
||||
/// Failed to parse the test (internal error).
|
||||
FailedToParseTest(String),
|
||||
}
|
||||
Reference in New Issue
Block a user