Index: tests/compiler/dart2js/bad_loop_test.dart |
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart |
index aedbfc03f8856e051f68240e6802172ca31d153e..57050953553c9d8f21225088278ec96d4b9acfbe 100644 |
--- a/tests/compiler/dart2js/bad_loop_test.dart |
+++ b/tests/compiler/dart2js/bad_loop_test.dart |
@@ -9,8 +9,7 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart' |
show Diagnostic; |
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/'); |