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' |