Index: tests/corelib/big_integer_arith_vm_test.dart |
diff --git a/tests/corelib/big_integer_arith_vm_test.dart b/tests/corelib/big_integer_arith_vm_test.dart |
index a2d8ad23fd89675868e65ed398190c0f75323c62..7492d0834e340abea24fb073537de10fce7e43e2 100644 |
--- a/tests/corelib/big_integer_arith_vm_test.dart |
+++ b/tests/corelib/big_integer_arith_vm_test.dart |
@@ -235,6 +235,9 @@ UnimplementedEvenModulusModInverse(x, m) { |
testBigintModInverse() { |
var x, m; |
+ x = 0; |
+ m = 1000000001; |
+ Expect.equals(0, x.modInverse(m)); // Not coprime. |
x = 1234567890; |
m = 19; |
Expect.equals(11, x.modInverse(m)); |