test for unary negative on variables

This commit is contained in:
ConnorSkees 2020-03-29 23:44:07 -04:00
parent 2a3f13bea0
commit 5e32225212

View File

@ -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"
);