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

Function report_passes_when_required_checks_pass

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

Source from the content-addressed store, hash-verified

771
772 #[test]
773 fn report_passes_when_required_checks_pass() {
774 let check = VerificationCheck::required("check:build", "run_build", "Run build")
775 .with_status(VerificationStatus::Passed);
776
777 let report = VerificationReport::new("turn", vec![check]);
778
779 assert_eq!(report.status, VerificationStatus::Passed);
780 assert!(report.is_complete());
781 }
782
783 #[test]
784 fn report_fails_when_any_check_fails() {

Callers

nothing calls this directly

Calls 1

with_statusMethod · 0.45

Tested by

no test coverage detected