()
| 58 | |
| 59 | #[test] |
| 60 | fn test_reduce_lengths_feature() { |
| 61 | let input = "body { width: 0px; }"; |
| 62 | let (output, changed) = minify(input, CssMinifierFeature::ReduceLengths); |
| 63 | assert!(changed); |
| 64 | assert!(output.contains("width:0"), "Should apply length reduction, got: {}", output); |
| 65 | assert!(!output.contains("0px"), "Should not contain 0px, got: {}", output); |
| 66 | } |
| 67 | |
| 68 | #[test] |
| 69 | fn test_no_features() { |