| Index: tests/corelib/core_runtime_types_test.dart
|
| diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
|
| index dc7dffe82f742eacaafa7f1f2fd8739df9143cf5..45d3a238513ecd6940ff3f5dc60dcb6dc62386a6 100644
|
| --- a/tests/corelib/core_runtime_types_test.dart
|
| +++ b/tests/corelib/core_runtime_types_test.dart
|
| @@ -47,7 +47,7 @@ class CoreRuntimeTypesTest {
|
| static assertTypeError(void f()) {
|
| try {
|
| f();
|
| - } catch (var exception) {
|
| + } catch (exception) {
|
| Expect.equals(true, (exception is TypeError) ||
|
| (exception is NoSuchMethodException) ||
|
| (exception is NullPointerException) ||
|
| @@ -150,11 +150,11 @@ class CoreRuntimeTypesTest {
|
| try {
|
| y.toRadixString(0);
|
| Expect.fail("Illegal radix 0 accepted.");
|
| - } catch (var e) { }
|
| + } catch (e) { }
|
| try {
|
| y.toRadixString(-1);
|
| Expect.fail("Illegal radix -1 accepted.");
|
| - } catch (var e) { }
|
| + } catch (e) { }
|
| }
|
|
|
| static testStringOperators() {
|
|
|