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

Unified Diff: tests/standalone/io/process_test_util.dart

Issue 2699533007: Modify standalone/io/process_test_util to make 2 io tests work on precomp-windows (Closed)
Patch Set: Created 3 years, 10 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: tests/standalone/io/process_test_util.dart
diff --git a/tests/standalone/io/process_test_util.dart b/tests/standalone/io/process_test_util.dart
index 36325b115af5270ca223e76f41ee30826c6f81cd..ecaa8a90dea24467ebda8a6d18b48bb7120129c8 100644
--- a/tests/standalone/io/process_test_util.dart
+++ b/tests/standalone/io/process_test_util.dart
@@ -15,7 +15,7 @@ String getPlatformExecutableExtension() {
String getProcessTestFileName() {
var extension = getPlatformExecutableExtension();
var executable = Platform.executable;
- var dirIndex = executable.lastIndexOf('dart$extension');
+ var dirIndex = executable.lastIndexOf('dart');
var buffer = new StringBuffer(executable.substring(0, dirIndex));
buffer.write('process_test$extension');
return buffer.toString();
« 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