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 262df4564533493015f8010a2fc466b674df6c67..029eccd2cc1918bde23acb34d97830309035628c 100644 |
--- a/tests/standalone/io/directory_invalid_arguments_test.dart |
+++ b/tests/standalone/io/directory_invalid_arguments_test.dart |
@@ -39,8 +39,12 @@ class DirectoryInvalidArgumentsTest { |
Expect.isTrue(e is ArgumentError); |
} |
testFailingList(d, false); |
+ Expect.throws(() => d.listSync(recursive: true), |
+ (e) => e is ArgumentError); |
d = new Directory("."); |
testFailingList(d, 1); |
+ Expect.throws(() => d.listSync(recursive: 1), |
+ (e) => e is ArgumentError); |
} |
static void testMain() { |