Index: pkg/front_end/test/src/incremental/file_state_test.dart |
diff --git a/pkg/front_end/test/src/incremental/file_state_test.dart b/pkg/front_end/test/src/incremental/file_state_test.dart |
index e3e3dc87c108cfed14a395d23df27d20ee8f5ad3..53e599737a86724ee8933a2c668e4d3e7f20402e 100644 |
--- a/pkg/front_end/test/src/incremental/file_state_test.dart |
+++ b/pkg/front_end/test/src/incremental/file_state_test.dart |
@@ -6,6 +6,7 @@ import 'dart:async'; |
import 'package:front_end/memory_file_system.dart'; |
import 'package:front_end/src/fasta/translate_uri.dart'; |
+import 'package:front_end/src/incremental/byte_store.dart'; |
import 'package:front_end/src/incremental/file_state.dart'; |
import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -20,6 +21,7 @@ main() { |
@reflectiveTest |
class FileSystemStateTest { |
+ final byteStore = new MemoryByteStore(); |
final fileSystem = new MemoryFileSystem(Uri.parse('file:///')); |
final TranslateUri uriTranslator = new TranslateUri({}, {}, {}); |
FileSystemState fsState; |
@@ -32,7 +34,8 @@ class FileSystemStateTest { |
uriTranslator.dartLibraries.addAll(dartLibraries); |
_coreUri = Uri.parse('dart:core'); |
expect(_coreUri, isNotNull); |
- fsState = new FileSystemState(fileSystem, uriTranslator, <int>[], (uri) { |
+ fsState = new FileSystemState(byteStore, fileSystem, uriTranslator, <int>[], |
+ (uri) { |
_newFileUris.add(uri); |
return new Future.value(); |
}); |