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 6f119813ee36c94b92502e2f0fd3894c34436c24..ebda63f8473b2251eef9cf999dd1a385aee6c381 100644 |
--- a/tests/compiler/dart2js/bad_output_io_test.dart |
+++ b/tests/compiler/dart2js/bad_output_io_test.dart |
@@ -56,11 +56,9 @@ class CollectingFormattingDiagnosticHandler |
int throwOnErrorCount; |
} |
-testOutputProvider(script, libraryRoot, packageRoot, inputProvider, handler, |
- [options, outputProvider, environment, packageConfig, |
- findPackages]) { |
+testOutputProvider(options, input, diagnostics, output) { |
diagnosticHandler = new CollectingFormattingDiagnosticHandler(); |
- outputProvider("/non/existing/directory/should/fail/file", "js"); |
+ output.createEventSink("/non/existing/directory/should/fail/file", "js"); |
} |
void main() { |