| Index: pkg/fixnum/test/int_64_vm_test.dart
|
| diff --git a/pkg/fixnum/test/int_64_vm_test.dart b/pkg/fixnum/test/int_64_vm_test.dart
|
| index bf69f0cdab7e886ba854ac11277fc8b46ae305f9..370f72c6298faea86a3aa4f9887aa83effea7aaa 100644
|
| --- a/pkg/fixnum/test/int_64_vm_test.dart
|
| +++ b/pkg/fixnum/test/int_64_vm_test.dart
|
| @@ -188,7 +188,7 @@ class int64VMTest {
|
| Expect.fail("${op.name}: val = $val");
|
| }
|
| }
|
| -
|
| +
|
| void doTestUnary(UnaryOp op) {
|
| print("Testing operator ${op.name}");
|
| for (int i = 0; i < TEST_VALUES.length; i++) {
|
| @@ -199,14 +199,14 @@ class int64VMTest {
|
| _doTestUnary(op, randomLong);
|
| }
|
| }
|
| -
|
| +
|
| void _doTestBinary(BinaryOp op, int64 val0, int64 val1) {
|
| // print("Test val0 = $val0, val1 = $val1");
|
| var refException = null;
|
| int ref = -1;
|
| try {
|
| ref = op.ref(val0.toInt(), val1.toInt());
|
| - } catch (Exception e) {
|
| + } on Exception catch (e) {
|
| refException = e;
|
| }
|
| var testException = null;
|
| @@ -224,7 +224,7 @@ class int64VMTest {
|
| if (val1 != val1_save) {
|
| print("Test altered second argument");
|
| }
|
| - } catch (Exception e) {
|
| + } on Exception catch (e) {
|
| testException = e;
|
| }
|
| if (testException is IntegerDivisionByZeroException &&
|
|
|