()
| 508 | Ok(()) |
| 509 | } |
| 510 | |
| 511 | #[test] |
| 512 | fn should_resolve_external_references() -> Result<(), anyhow::Error> { |
| 513 | let document = DocumentPath::parse("_samples/resolver/petshop_with_external.yaml")?; |
| 514 | let json = resolve_refs(document, &mut Default::default(), &mut Default::default())?; |
| 515 | let string = json.to_string(); |
| 516 | assert!(!string.contains(REF)); |
| 517 | Ok(()) |
| 518 | } |
| 519 |
nothing calls this directly
no test coverage detected