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

Unified Diff: runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart

Issue 2734133003: Fix new service tests on windows; make status file more precise. (Closed)
Patch Set: Created 3 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
Index: runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart
diff --git a/runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart b/runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart
index a55a31c0854af382f89dacdcb645c7624284bd26..e13734566d14bd01a0e2aa48fbc5e5beaa8b4a33 100644
--- a/runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart
+++ b/runtime/observatory/tests/service/next_through_simple_async_with_returns_test.dart
@@ -11,7 +11,7 @@ const String file = "next_through_simple_async_with_returns_test.dart";
// line A is at the "code() async" line
code() async {
- File f = new File(Platform.script.path);
+ File f = new File(Platform.script.toFilePath());
bool exists = await f.exists();
if (exists) {
return 42;
@@ -27,7 +27,7 @@ List<String> stops = [];
List<String> expected = [
"$file:${LINE_A+0}:5", // on '(' in 'code()'
"$file:${LINE_A+1}:30", // on 'script'
- "$file:${LINE_A+1}:37", // on 'path'
+ "$file:${LINE_A+1}:37", // on 'toFilePath'
"$file:${LINE_A+1}:16", // on 'File'
"$file:${LINE_A+2}:25", // on 'exists'
"$file:${LINE_A+2}:17", // on 'await'

Powered by Google App Engine
This is Rietveld 408576698