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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « tests/standalone/io/test_extension_test.dart ('k') | tests/standalone/io/url_encoding_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_exit_code_test.dart
diff --git a/tests/standalone/io/test_runner_exit_code_test.dart b/tests/standalone/io/test_runner_exit_code_test.dart
index 34e9d0b8f920a3acfe67726920dd3d575206618e..02d4f50d773e84876b62f267b42f9ac63433e3b8 100644
--- a/tests/standalone/io/test_runner_exit_code_test.dart
+++ b/tests/standalone/io/test_runner_exit_code_test.dart
@@ -5,8 +5,8 @@
import "dart:io";
void runTests(String executable, String script, Iterator iterator) {
- if (iterator.hasNext) {
- var progressIndicator = iterator.next();
+ if (iterator.moveNext()) {
+ var progressIndicator = iterator.current;
Process.run(executable, [script, progressIndicator]).then((result) {
Expect.equals(1, result.exitCode);
if (progressIndicator == 'buildbot') {
@@ -26,6 +26,6 @@ main() {
var executable = new Options().executable;
var progressTypes = ['compact', 'color', 'line', 'verbose',
'status', 'buildbot'];
- var iterator = progressTypes.iterator();
+ var iterator = progressTypes.iterator;
runTests(executable, script, iterator);
}
« no previous file with comments | « tests/standalone/io/test_extension_test.dart ('k') | tests/standalone/io/url_encoding_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698