MCPcopy Create free account
hub / github.com/AI45Lab/Code / report_fails_when_any_check_fails

Function report_fails_when_any_check_fails

core/src/verification.rs:784–792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

with_statusMethod · 0.45

Tested by

no test coverage detected