diff --git a/tests/meta.rs b/tests/meta.rs index 6deb0bc..11d4e92 100644 --- a/tests/meta.rs +++ b/tests/meta.rs @@ -33,6 +33,32 @@ test!( "a {\n color: feature-exists(at-error)\n}\n", "a {\n color: true;\n}\n" ); +// Uncomment as more features are added +// test!( +// feature_exists_global_variable_shadowing, +// "a {\n color: feature-exists(global-variable-shadowing)\n}\n", +// "a {\n color: true;\n}\n" +// ); +// test!( +// feature_exists_extend_selector_pseudoclass, +// "a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n", +// "a {\n color: true;\n}\n" +// ); +// test!( +// feature_exists_units_level_3, +// "a {\n color: feature-exists(units-level-3)\n}\n", +// "a {\n color: true;\n}\n" +// ); +// test!( +// feature_exists_custom_property, +// "a {\n color: feature-exists(custom-property)\n}\n", +// "a {\n color: true;\n}\n" +// ); +test!( + feature_exists_nonsense, + "a {\n color: feature-exists(foo)\n}\n", + "a {\n color: false;\n}\n" +); test!( feature_exists_at_error_named_arg, "a {\n color: feature-exists($feature: at-error)\n}\n",