Change test status to pass/fail.

This commit is contained in:
Tom Alexander 2023-10-13 12:14:46 -04:00
parent 5ecd7b8bef
commit 3927889e66
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 4 additions and 4 deletions

View File

@ -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
}, },
}) })
} }