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

Unified Diff: tests/html/async_test.dart

Issue 13477002: Do early return before checks below. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« 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/html/async_test.dart
diff --git a/tests/html/async_test.dart b/tests/html/async_test.dart
index 05137fd0f7d2be1ebfd96eb92fdf5d0cc980928f..1d7768f878c1d2c23a3d751856ecc4ccbefc6265 100644
--- a/tests/html/async_test.dart
+++ b/tests/html/async_test.dart
@@ -29,6 +29,7 @@ periodicTimerIsolate() {
new Timer(const Duration(milliseconds: 30), () {
replyTo.send('DONE');
});
+ return;
}
assert(counter < 3);
counter++;
« 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