add test for integer overflow in division
@@ -154,6 +154,11 @@ test!(
"a {\n color: 999999999999999999 * 10;\n}\n",
"a {\n color: 9999999999999999990;\n}\n"
);
+test!(
+ number_overflow_from_division,
+ "a {\n color: (999999999999999999 / .1);\n}\n",
+ "a {\n color: 9999999999999999990;\n}\n"
+);
// we use arbitrary precision, so it is necessary to limit the size of exponents
// in order to prevent hangs
error!(
