Index: tests/compiler/dart2js/bad_output_io_test.dart |
diff --git a/tests/compiler/dart2js/bad_output_io_test.dart b/tests/compiler/dart2js/bad_output_io_test.dart |
index 68912d81bd3f9a337c178c6f14e01e430dd8219e..ada95c0a43373b968979ecf9ad539ebc92740a68 100644 |
--- a/tests/compiler/dart2js/bad_output_io_test.dart |
+++ b/tests/compiler/dart2js/bad_output_io_test.dart |
@@ -6,12 +6,18 @@ |
library dart2js.test.bad_output_io; |
+import 'dart:async' show Future; |
import 'dart:io' show exit; |
import 'package:expect/expect.dart'; |
import 'package:compiler/compiler.dart' show Diagnostic; |
import 'package:compiler/compiler_new.dart' |
- show CompilerDiagnostics, CompilerInput, CompilerOutput, OutputType; |
+ show |
+ CompilationResult, |
+ CompilerDiagnostics, |
+ CompilerInput, |
+ CompilerOutput, |
+ OutputType; |
import 'package:compiler/src/dart2js.dart' |
show exitFunc, compileFunc, compile, diagnosticHandler; |
import 'package:compiler/src/source_file_provider.dart' |
@@ -58,11 +64,15 @@ class CollectingFormattingDiagnosticHandler |
int throwOnErrorCount; |
} |
-testOutputProvider(CompilerOptions options, CompilerInput input, |
- CompilerDiagnostics diagnostics, CompilerOutput output) { |
+Future<CompilationResult> testOutputProvider( |
+ CompilerOptions options, |
+ CompilerInput input, |
+ CompilerDiagnostics diagnostics, |
+ CompilerOutput output) { |
diagnosticHandler = new CollectingFormattingDiagnosticHandler(); |
output.createOutputSink( |
"/non/existing/directory/should/fail/file", "js", OutputType.js); |
+ return null; |
} |
void main() { |