()
| 105 | |
| 106 | #[test] |
| 107 | fn format_structured_text_default_matches_json() { |
| 108 | let v = json!({"x": "hello"}); |
| 109 | let text = format_structured(&v, OutputFormat::Text).unwrap(); |
| 110 | let json = format_structured(&v, OutputFormat::Json).unwrap(); |
| 111 | assert_eq!(text, json); |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | #[cfg(test)] |
nothing calls this directly
no test coverage detected