Skip to content

Commit e2cd63d

Browse files
committed
comment on BuildFail misuse
1 parent 9105b01 commit e2cd63d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runner/worker.rs

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ impl<'a> Worker<'a> {
246246
} else {
247247
match failure_reason(&err) {
248248
crate::results::FailureReason::Unknown => TestResult::Error,
249+
// BuildFail should have the desired semantics even if a seperate PrepareFail variant would be cleaner
249250
reason => TestResult::BuildFail(reason),
250251
}
251252
};

0 commit comments

Comments
 (0)