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