Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: pkg/analysis_server/test/mocks.dart

Issue 196743004: (TBR) fix path to sdk on Windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/mocks.dart
diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart
index 82b15fa88d5b7db145336f54fdc30106719ea831..23684f1b5a3bfd8343f431f28819a7b89ec1ed77 100644
--- a/pkg/analysis_server/test/mocks.dart
+++ b/pkg/analysis_server/test/mocks.dart
@@ -17,7 +17,7 @@ import 'package:unittest/matcher.dart';
* or throw an exception if it cannot be found.
*/
String get sdkPath {
- Uri sdkUri = Uri.base.resolveUri(Platform.script).resolve('../../../sdk/');
+ Uri sdkUri = Platform.script.resolve('../../../sdk/');
// Verify that the internal library file exists
Uri libFileUri = sdkUri.resolve('lib/_internal/libraries.dart');
if (!new File.fromUri(libFileUri).existsSync()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698