Change test status to pass/fail.
This commit is contained in:
parent
5ecd7b8bef
commit
3927889e66
@ -96,8 +96,8 @@ struct SingleFileResult {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) enum TestStatus {
|
||||
Good,
|
||||
Bad,
|
||||
Pass,
|
||||
Fail,
|
||||
}
|
||||
|
||||
impl TestConfig {
|
||||
@ -121,9 +121,9 @@ impl SingleFile {
|
||||
Ok(SingleFileResult {
|
||||
file_path: self.file_path,
|
||||
status: if result.is_ok() {
|
||||
TestStatus::Good
|
||||
TestStatus::Pass
|
||||
} else {
|
||||
TestStatus::Bad
|
||||
TestStatus::Fail
|
||||
},
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user