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

Function test_no_features

crates/csskit_transform/src/css_minifier.rs:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68 #[test]
69 fn test_no_features() {
70 let input = "body { width: 0px; }";
71 let (output, changed) = minify(input, CssMinifierFeature::none());
72 assert!(!changed, "Should not make changes with no features enabled");
73 assert!(output.contains("width:0px"));
74 }
75
76 #[test]
77 fn test_changed_flag_accuracy() {

Callers

nothing calls this directly

Calls 1

minifyFunction · 0.70

Tested by

no test coverage detected