MCPcopy Create free account
hub / github.com/aeroxy/chrome-devtools-cli / format_structured_text_default_matches_json

Function format_structured_text_default_matches_json

src/format.rs:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)]

Callers

nothing calls this directly

Calls 1

format_structuredFunction · 0.85

Tested by

no test coverage detected