()
| 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() { |