unignore passing tests

This commit is contained in:
ConnorSkees 2020-06-23 02:43:28 -04:00
parent 7f8dc52e24
commit 402d7bf8e6
5 changed files with 2 additions and 10 deletions

View File

@ -33,7 +33,7 @@ fn feature_exists(mut args: CallArgs, parser: &mut Parser<'_>) -> SassResult<Val
"global-variable-shadowing" => Value::True,
// the @extend rule will affect selectors nested in pseudo-classes
// like :not()
"extend-selector-pseudoclass" => Value::False,
"extend-selector-pseudoclass" => Value::True,
// Full support for unit arithmetic using units defined in the
// [Values and Units Level 3][] spec.
"units-level-3" => Value::True,

View File

@ -283,11 +283,7 @@ test!(
"a {\n color: black;\n}\n"
);
test!(invert_number, "a {\n color: invert(10%);\n}\n");
test!(
#[ignore]
invert_number_casing,
"a {\n color: iNveRt(10%);\n}\n"
);
test!(invert_number_casing, "a {\n color: iNveRt(10%);\n}\n");
test!(
invert_weight_percent,
"a {\n color: invert(white, 20%);\n}\n",

View File

@ -134,7 +134,6 @@ error!(
);
error!(toplevel_at, "@", "Error: Expected identifier.");
error!(
#[ignore = "this panics until we can return a result in selector parsing"]
toplevel_ampersand,
"& {}", "Error: Top-level selectors may not contain the parent selector \"&\"."
);

View File

@ -63,9 +63,7 @@ test!(
"a {\n color: feature-exists(global-variable-shadowing)\n}\n",
"a {\n color: true;\n}\n"
);
// Unignore as more features are added
test!(
#[ignore]
feature_exists_extend_selector_pseudoclass,
"a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n",
"a {\n color: true;\n}\n"

View File

@ -667,7 +667,6 @@ error!(
":nth-child(f) {\n color: &;\n}\n", "Error: Expected \"n\"."
);
error!(
#[ignore = "we read until closing paren, giving a different error message"]
a_n_plus_b_n_nothing_after_open_paren,
":nth-child({\n color: &;\n}\n", "Error: expected more input."
);