add test for integer overflow in division
This commit is contained in:
parent
5bf03c15d6
commit
4635f76fa5
@ -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!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user