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

Function get_tests

crates/csskit_transform/tests/css-minify-tests.rs:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33fn get_tests() -> Vec<CssMinifyTestCase> {
34 let mut files = vec![];
35 for path in glob(FIXTURES_GLOB).unwrap().flatten() {
36 files.push(CssMinifyTestCase::new(path));
37 }
38 files.sort_by(|a, b| a.name.cmp(&b.name));
39 files
40}
41
42fn minify(source_text: &str) -> String {
43 let bump = Bump::default();

Callers 1

full_suiteFunction · 0.70

Calls 1

cmpMethod · 0.80

Tested by

no test coverage detected