Index: tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
index 7c4c551de0deb44b3530889977cfae9381ad4384..b05ead822dc6c1f809d5e67abc520f67f86dd507 100644 |
--- a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
+++ b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
@@ -13,8 +13,7 @@ import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' |
as dart2js; |
void main() { |
- Uri cwd = getCurrentDirectory(); |
- Uri script = cwd.resolve(nativeToUriPath(new Options().script)); |
+ Uri script = currentDirectory.resolve(nativeToUriPath(new Options().script)); |
Uri libraryRoot = script.resolve('../../../sdk/'); |
Uri packageRoot = script.resolve('./packages/'); |