Index: tests/compiler/dart2js/analyze_api_test.dart |
diff --git a/tests/compiler/dart2js/analyze_api_test.dart b/tests/compiler/dart2js/analyze_api_test.dart |
index 4e75440e03f0c475bce716958538de3a08230fcf..8ae41920566997dabb91b7f5f25d4e9b097c71d8 100644 |
--- a/tests/compiler/dart2js/analyze_api_test.dart |
+++ b/tests/compiler/dart2js/analyze_api_test.dart |
@@ -5,7 +5,6 @@ |
library analyze_api; |
import "package:expect/expect.dart"; |
-import 'dart:uri'; |
import 'dart:io'; |
import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; |
import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart'; |
@@ -118,7 +117,7 @@ void main() { |
var uriList = new List<Uri>(); |
LIBRARIES.forEach((String name, LibraryInfo info) { |
if (info.documented) { |
- uriList.add(new Uri.fromComponents(scheme: 'dart', path: name)); |
+ uriList.add(new Uri(scheme: 'dart', path: name)); |
} |
}); |
var provider = new SourceFileProvider(); |