fmt tests
This commit is contained in:
parent
3512873363
commit
4238124344
@ -307,14 +307,8 @@ test!(
|
|||||||
"a {\n color: 1 + foo();\n}\n",
|
"a {\n color: 1 + foo();\n}\n",
|
||||||
"a {\n color: 1foo();\n}\n"
|
"a {\n color: 1foo();\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(positive_integer, "a {\n color: 1;\n}\n");
|
||||||
positive_integer,
|
test!(negative_integer, "a {\n color: -1;\n}\n");
|
||||||
"a {\n color: 1;\n}\n"
|
|
||||||
);
|
|
||||||
test!(
|
|
||||||
negative_integer,
|
|
||||||
"a {\n color: -1;\n}\n"
|
|
||||||
);
|
|
||||||
test!(
|
test!(
|
||||||
positive_float_no_leading_zero,
|
positive_float_no_leading_zero,
|
||||||
"a {\n color: .1;\n}\n",
|
"a {\n color: .1;\n}\n",
|
||||||
@ -325,11 +319,5 @@ test!(
|
|||||||
"a {\n color: -.1;\n}\n",
|
"a {\n color: -.1;\n}\n",
|
||||||
"a {\n color: -0.1;\n}\n"
|
"a {\n color: -0.1;\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(positive_float_leading_zero, "a {\n color: 0.1;\n}\n");
|
||||||
positive_float_leading_zero,
|
test!(negative_float_leading_zero, "a {\n color: -0.1;\n}\n");
|
||||||
"a {\n color: 0.1;\n}\n"
|
|
||||||
);
|
|
||||||
test!(
|
|
||||||
negative_float_leading_zero,
|
|
||||||
"a {\n color: -0.1;\n}\n"
|
|
||||||
);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user