(prefix string, err error)
| 412 | } |
| 413 | |
| 414 | func AppstudioReportForError(prefix string, err error) TestReport { |
| 415 | return TestReport{ |
| 416 | Timestamp: fmt.Sprint(time.Now().UTC().Unix()), |
| 417 | Namespace: "", |
| 418 | Successes: 0, |
| 419 | Warnings: 0, |
| 420 | Failures: 0, |
| 421 | Result: "ERROR", |
| 422 | Note: fmt.Sprintf("Error: %s: %s", prefix, err.Error()), |
| 423 | } |
| 424 | } |
no test coverage detected