| Index: tests/lib_strong/mirrors/invoke_import_test.dart
|
| diff --git a/tests/lib_strong/mirrors/invoke_import_test.dart b/tests/lib_strong/mirrors/invoke_import_test.dart
|
| index 647a2f86301ec0810cf5c97d35bba4eeae83144f..332a8ddc2e89981e714c2922a302fabdf92af7a6 100644
|
| --- a/tests/lib_strong/mirrors/invoke_import_test.dart
|
| +++ b/tests/lib_strong/mirrors/invoke_import_test.dart
|
| @@ -13,23 +13,28 @@ main() {
|
| LibraryMirror thisLibrary =
|
| currentMirrorSystem().findLibrary(#test.invoke_import_test);
|
|
|
| - Expect.throws(() => thisLibrary.invoke(#topLevelMethod, []),
|
| - (e) => e is NoSuchMethodError,
|
| - 'Should not invoke imported method #topLevelMethod');
|
| -
|
| - Expect.throws(() => thisLibrary.getField(#topLevelGetter),
|
| - (e) => e is NoSuchMethodError,
|
| - 'Should not invoke imported getter #topLevelGetter');
|
| -
|
| - Expect.throws(() => thisLibrary.getField(#topLevelField),
|
| - (e) => e is NoSuchMethodError,
|
| - 'Should not invoke imported field #topLevelField');
|
| -
|
| - Expect.throws(() => thisLibrary.setField(#topLevelSetter, 23),
|
| - (e) => e is NoSuchMethodError,
|
| - 'Should not invoke imported setter #topLevelSetter');
|
| -
|
| - Expect.throws(() => thisLibrary.setField(#topLevelField, 23),
|
| - (e) => e is NoSuchMethodError,
|
| - 'Should not invoke imported field #topLevelField');
|
| + Expect.throws(
|
| + () => thisLibrary.invoke(#topLevelMethod, []),
|
| + (e) => e is NoSuchMethodError,
|
| + 'Should not invoke imported method #topLevelMethod');
|
| +
|
| + Expect.throws(
|
| + () => thisLibrary.getField(#topLevelGetter),
|
| + (e) => e is NoSuchMethodError,
|
| + 'Should not invoke imported getter #topLevelGetter');
|
| +
|
| + Expect.throws(
|
| + () => thisLibrary.getField(#topLevelField),
|
| + (e) => e is NoSuchMethodError,
|
| + 'Should not invoke imported field #topLevelField');
|
| +
|
| + Expect.throws(
|
| + () => thisLibrary.setField(#topLevelSetter, 23),
|
| + (e) => e is NoSuchMethodError,
|
| + 'Should not invoke imported setter #topLevelSetter');
|
| +
|
| + Expect.throws(
|
| + () => thisLibrary.setField(#topLevelField, 23),
|
| + (e) => e is NoSuchMethodError,
|
| + 'Should not invoke imported field #topLevelField');
|
| }
|
|
|