test for unary negative on variables
This commit is contained in:
parent
2a3f13bea0
commit
5e32225212
@ -45,3 +45,8 @@ test!(
|
||||
"a {\n color: type-of(- 1px);\n}\n",
|
||||
"a {\n color: number;\n}\n"
|
||||
);
|
||||
test!(
|
||||
unary_neg_variable,
|
||||
"$a: 1;\n\na {\n color: -$a;\n}\n",
|
||||
"a {\n color: -1;\n}\n"
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user