Document and validate preflight readiness
This commit is contained in:
@@ -1278,8 +1278,10 @@ func TestSubprocessInfeasibleSectionTargetIsAnInputFailure(t *testing.T) {
|
||||
if _, err := os.Stat(f.output); !os.IsNotExist(err) {
|
||||
t.Fatalf("unexpected transcript output: %v", err)
|
||||
}
|
||||
if document := f.errors(t); document.Status != reporting.StatusFailed {
|
||||
t.Fatalf("report status: %+v", document)
|
||||
for _, name := range []string{"errors.yml", "recoveries.yml", "report.md"} {
|
||||
if _, err := os.Stat(filepath.Join(f.dir, name)); !os.IsNotExist(err) {
|
||||
t.Fatalf("unexpected report %s: %v", name, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user