Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: tests/standalone/io/directory_fuzz_test.dart

Issue 11570005: Remove old #import, #source, and #library syntax from tests/standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/directory_fuzz_test.dart
diff --git a/tests/standalone/io/directory_fuzz_test.dart b/tests/standalone/io/directory_fuzz_test.dart
index 625e994144f6ef5b792a8d631878be56114d2755..3d982e6459e777eb2bb2ab36cf04104776446a4f 100644
--- a/tests/standalone/io/directory_fuzz_test.dart
+++ b/tests/standalone/io/directory_fuzz_test.dart
@@ -5,10 +5,10 @@
// 'fuzz' test the directory APIs by providing unexpected type
// arguments. The test passes if the VM does not crash.
-#import('dart:io');
-#import('dart:isolate');
+import "dart:io";
+import "dart:isolate";
-#import('fuzz_support.dart');
+import "fuzz_support.dart";
fuzzSyncMethods() {
typeMapping.forEach((k, v) {
@@ -27,7 +27,7 @@ fuzzSyncMethods() {
});
typeMapping.forEach((k2, v2) {
doItSync(() => d.renameSync(v2));
- doItSync(() => d.list(v2).onError = (e) => null);
+ doItSync(() => d.list(recursive: v2).onError = (e) => null);
});
});
});

Powered by Google App Engine
This is Rietveld 408576698