(node: &CanonicalNode)
| 446 | } |
| 447 | |
| 448 | fn manifest(node: &CanonicalNode) -> Manifest { |
| 449 | Manifest { |
| 450 | schema_version: "atomic-evidence-replay-manifest/v1".into(), |
| 451 | context: context(node), |
| 452 | claims: vec![Claim { |
| 453 | criterion_id: node.has_acceptance_criterion[0].id.clone(), |
| 454 | claim_type: "source_text_coverage/v1".into(), |
| 455 | artifact_root: ".".into(), |
| 456 | case: json!({}), |
| 457 | policy: json!({}), |
| 458 | }], |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | #[test] |
| 463 | fn native_definition_and_every_view_ancestor_are_pinned() { |