| Index: tests/standalone/io/directory_invalid_arguments_test.dart
|
| diff --git a/tests/standalone/io/directory_invalid_arguments_test.dart b/tests/standalone/io/directory_invalid_arguments_test.dart
|
| index e7754d86429aca8e6c29213d6b170f0368cb7594..a34836f60849a4400dfb591779022cec973afd29 100644
|
| --- a/tests/standalone/io/directory_invalid_arguments_test.dart
|
| +++ b/tests/standalone/io/directory_invalid_arguments_test.dart
|
| @@ -24,19 +24,19 @@ class DirectoryInvalidArgumentsTest {
|
| d.existsSync();
|
| Expect.fail("No exception thrown");
|
| } catch (e) {
|
| - Expect.isTrue(e is IllegalArgumentException);
|
| + Expect.isTrue(e is ArgumentError);
|
| }
|
| try {
|
| d.deleteSync();
|
| Expect.fail("No exception thrown");
|
| } catch (e) {
|
| - Expect.isTrue(e is IllegalArgumentException);
|
| + Expect.isTrue(e is ArgumentError);
|
| }
|
| try {
|
| d.createSync();
|
| Expect.fail("No exception thrown");
|
| } catch (e) {
|
| - Expect.isTrue(e is IllegalArgumentException);
|
| + Expect.isTrue(e is ArgumentError);
|
| }
|
| testFailingList(d, false);
|
| d = new Directory(".");
|
|
|