| 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 5c12e719a6e147e22e99575f29b1a482655e293b..943a97d7923da2b81697675af697e983433383fb 100644
|
| --- a/tests/compiler/dart2js/bad_output_io_test.dart
|
| +++ b/tests/compiler/dart2js/bad_output_io_test.dart
|
| @@ -6,10 +6,12 @@
|
|
|
| library dart2js.test.bad_output_io;
|
|
|
| +import 'dart:async';
|
| import 'dart:io' show exit;
|
| import 'package:expect/expect.dart';
|
|
|
| import 'package:compiler/compiler.dart' show Diagnostic;
|
| +import 'package:compiler/compiler_new.dart' show OutputType;
|
| import 'package:compiler/src/dart2js.dart'
|
| show exitFunc, compileFunc, compile, diagnosticHandler;
|
| import 'package:compiler/src/source_file_provider.dart'
|
| @@ -56,7 +58,8 @@ class CollectingFormattingDiagnosticHandler
|
|
|
| testOutputProvider(options, input, diagnostics, output) {
|
| diagnosticHandler = new CollectingFormattingDiagnosticHandler();
|
| - output.createEventSink("/non/existing/directory/should/fail/file", "js");
|
| + output.createOutputSink(
|
| + "/non/existing/directory/should/fail/file", "js", OutputType.js);
|
| }
|
|
|
| void main() {
|
|
|