MCPcopy Create free account
hub / github.com/csskit/csskit / format_respects_quote_style

Function format_respects_quote_style

crates/csskit_wasm/src/lib.rs:200–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199 #[test]
200 fn format_respects_quote_style() {
201 let source = r#".a { content: "foo"; }"#;
202 let options = FormatOptions { quote_style: Some(QuoteStyleOption::Single), ..FormatOptions::default() };
203 let output = format_with_options(source, options).expect("format should succeed");
204 assert!(output.contains("content:'foo'"));
205 }
206}
207
208#[derive(Default, Clone, Serialize)]

Callers

nothing calls this directly

Calls 1

format_with_optionsFunction · 0.85

Tested by

no test coverage detected