unignore passing tests
This commit is contained in:
parent
7f8dc52e24
commit
402d7bf8e6
@ -33,7 +33,7 @@ fn feature_exists(mut args: CallArgs, parser: &mut Parser<'_>) -> SassResult<Val
|
|||||||
"global-variable-shadowing" => Value::True,
|
"global-variable-shadowing" => Value::True,
|
||||||
// the @extend rule will affect selectors nested in pseudo-classes
|
// the @extend rule will affect selectors nested in pseudo-classes
|
||||||
// like :not()
|
// like :not()
|
||||||
"extend-selector-pseudoclass" => Value::False,
|
"extend-selector-pseudoclass" => Value::True,
|
||||||
// Full support for unit arithmetic using units defined in the
|
// Full support for unit arithmetic using units defined in the
|
||||||
// [Values and Units Level 3][] spec.
|
// [Values and Units Level 3][] spec.
|
||||||
"units-level-3" => Value::True,
|
"units-level-3" => Value::True,
|
||||||
|
@ -283,11 +283,7 @@ test!(
|
|||||||
"a {\n color: black;\n}\n"
|
"a {\n color: black;\n}\n"
|
||||||
);
|
);
|
||||||
test!(invert_number, "a {\n color: invert(10%);\n}\n");
|
test!(invert_number, "a {\n color: invert(10%);\n}\n");
|
||||||
test!(
|
test!(invert_number_casing, "a {\n color: iNveRt(10%);\n}\n");
|
||||||
#[ignore]
|
|
||||||
invert_number_casing,
|
|
||||||
"a {\n color: iNveRt(10%);\n}\n"
|
|
||||||
);
|
|
||||||
test!(
|
test!(
|
||||||
invert_weight_percent,
|
invert_weight_percent,
|
||||||
"a {\n color: invert(white, 20%);\n}\n",
|
"a {\n color: invert(white, 20%);\n}\n",
|
||||||
|
@ -134,7 +134,6 @@ error!(
|
|||||||
);
|
);
|
||||||
error!(toplevel_at, "@", "Error: Expected identifier.");
|
error!(toplevel_at, "@", "Error: Expected identifier.");
|
||||||
error!(
|
error!(
|
||||||
#[ignore = "this panics until we can return a result in selector parsing"]
|
|
||||||
toplevel_ampersand,
|
toplevel_ampersand,
|
||||||
"& {}", "Error: Top-level selectors may not contain the parent selector \"&\"."
|
"& {}", "Error: Top-level selectors may not contain the parent selector \"&\"."
|
||||||
);
|
);
|
||||||
|
@ -63,9 +63,7 @@ test!(
|
|||||||
"a {\n color: feature-exists(global-variable-shadowing)\n}\n",
|
"a {\n color: feature-exists(global-variable-shadowing)\n}\n",
|
||||||
"a {\n color: true;\n}\n"
|
"a {\n color: true;\n}\n"
|
||||||
);
|
);
|
||||||
// Unignore as more features are added
|
|
||||||
test!(
|
test!(
|
||||||
#[ignore]
|
|
||||||
feature_exists_extend_selector_pseudoclass,
|
feature_exists_extend_selector_pseudoclass,
|
||||||
"a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n",
|
"a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n",
|
||||||
"a {\n color: true;\n}\n"
|
"a {\n color: true;\n}\n"
|
||||||
|
@ -667,7 +667,6 @@ error!(
|
|||||||
":nth-child(f) {\n color: &;\n}\n", "Error: Expected \"n\"."
|
":nth-child(f) {\n color: &;\n}\n", "Error: Expected \"n\"."
|
||||||
);
|
);
|
||||||
error!(
|
error!(
|
||||||
#[ignore = "we read until closing paren, giving a different error message"]
|
|
||||||
a_n_plus_b_n_nothing_after_open_paren,
|
a_n_plus_b_n_nothing_after_open_paren,
|
||||||
":nth-child({\n color: &;\n}\n", "Error: expected more input."
|
":nth-child({\n color: &;\n}\n", "Error: expected more input."
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user