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 3c9201206ba43b0473cb2499fde059e2e3423517..a70de8bba275c1756541bc70510462bb0ea8febc 100644 |
--- a/tests/compiler/dart2js/analyze_api_test.dart |
+++ b/tests/compiler/dart2js/analyze_api_test.dart |
@@ -107,8 +107,7 @@ class CollectingDiagnosticHandler extends FormattingDiagnosticHandler { |
} |
void main() { |
- Uri currentWorkingDirectory = getCurrentDirectory(); |
- var libraryRoot = currentWorkingDirectory.resolve('sdk/'); |
+ var libraryRoot = currentDirectory.resolve('sdk/'); |
var uriList = new List<Uri>(); |
LIBRARIES.forEach((String name, LibraryInfo info) { |
if (info.documented) { |