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

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

Issue 15883003: Remove ProcessOptions and make the options named arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments cleanup. Created 7 years, 7 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: tests/standalone/io/regress_7679_test.dart
diff --git a/tests/standalone/io/regress_7679_test.dart b/tests/standalone/io/regress_7679_test.dart
index dba91ed9ad414a403fb210fd6fd742a586d02430..30b45d37f9ad86f5405a815cc596df9dfaf5c264 100644
--- a/tests/standalone/io/regress_7679_test.dart
+++ b/tests/standalone/io/regress_7679_test.dart
@@ -34,11 +34,10 @@ main() {
});
}
""");
- ProcessOptions options = new ProcessOptions();
- options.workingDirectory = temp.path;
String executable = new File(new Options().executable).fullPathSync();
- Process.run(executable, ['script.dart'], options).then((result) {
- temp.deleteSync(recursive: true);
- Expect.equals(0, result.exitCode);
- });
+ Process.run(executable, ['script.dart'], workingDirectory: temp.path)
+ .then((result) {
+ temp.deleteSync(recursive: true);
+ Expect.equals(0, result.exitCode);
+ });
}

Powered by Google App Engine
This is Rietveld 408576698