()
| 782 | |
| 783 | #[test] |
| 784 | fn report_fails_when_any_check_fails() { |
| 785 | let check = VerificationCheck::required("check:test", "run_tests", "Run tests") |
| 786 | .with_status(VerificationStatus::Failed); |
| 787 | |
| 788 | let report = VerificationReport::new("turn", vec![check]); |
| 789 | |
| 790 | assert_eq!(report.status, VerificationStatus::Failed); |
| 791 | assert!(report.is_complete()); |
| 792 | } |
| 793 | |
| 794 | #[test] |
| 795 | fn static_verifier_builds_report() { |
nothing calls this directly
no test coverage detected