Index: pkg/front_end/test/memory_file_system_test.dart |
diff --git a/pkg/front_end/test/memory_file_system_test.dart b/pkg/front_end/test/memory_file_system_test.dart |
index 986abb70fe139a55df95d8e5543ea97d138ff60d..3a79c07cb03e264d57eda23ac73c6e492aac42ac 100644 |
--- a/pkg/front_end/test/memory_file_system_test.dart |
+++ b/pkg/front_end/test/memory_file_system_test.dart |
@@ -44,7 +44,8 @@ class FileTest extends _BaseTestNative { |
test_createDirectory_exists_asDirectory() async { |
file.createDirectory(); |
- expect(() => file.createDirectory(), _throwsFileSystemException); |
+ file.createDirectory(); |
+ expect(await file.exists(), true); |
} |
test_createDirectory_exists_asFile() async { |