| Index: tests/compiler/dart2js/codegen_helper.dart
|
| diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart
|
| index 52f4312d6cd10ce1f0544762467f2e48aa091f8f..151244294912b51f678324515f5e37d74c69c277 100644
|
| --- a/tests/compiler/dart2js/codegen_helper.dart
|
| +++ b/tests/compiler/dart2js/codegen_helper.dart
|
| @@ -4,7 +4,7 @@
|
|
|
| import 'dart:async';
|
| import 'package:expect/expect.dart';
|
| -
|
| +import 'package:compiler/src/null_compiler_output.dart';
|
| import 'memory_source_file_helper.dart';
|
|
|
| Future<Map<String, String>> generate(String code,
|
| @@ -16,9 +16,9 @@ Future<Map<String, String>> generate(String code,
|
| var provider = new MemorySourceFileProvider({ 'main.dart': code });
|
| var handler = new FormattingDiagnosticHandler(provider);
|
|
|
| - Compiler compiler = new Compiler(provider.readStringFromUri,
|
| - null,
|
| - handler.diagnosticHandler,
|
| + Compiler compiler = new Compiler(provider,
|
| + const NullCompilerOutput(),
|
| + handler,
|
| libraryRoot,
|
| packageRoot,
|
| options,
|
|
|