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

Unified Diff: tests/isolate/timer_not_available_test.dart

Issue 11028076: Fix timer tests: timer tests were not using expectAsync to wait for (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/isolate/timer_not_available_test.dart
diff --git a/tests/isolate/timer_not_available_test.dart b/tests/isolate/timer_not_available_test.dart
index 82c9103edbc7161a55f21c8bcf87dcb02d66893a..464ae0c630c5f25bb7f35a80d7ac0e706f1d6082 100644
--- a/tests/isolate/timer_not_available_test.dart
+++ b/tests/isolate/timer_not_available_test.dart
@@ -11,6 +11,7 @@ main() {
try {
new Timer(0, (_) { });
} on UnsupportedOperationException catch (e) {
+ print(e);
Siggi Cherem (dart-lang) 2012/10/08 21:50:07 is this needed? or just debugging code?
justinfagnani 2012/10/08 22:12:48 removed
failed = true;
}
Expect.isTrue(failed);
@@ -19,6 +20,7 @@ main() {
var t = new Timer.repeating(10, (_) { });
t.cancel();
} on UnsupportedOperationException catch (e) {
+ print(e);
failed = true;
}
Expect.isTrue(failed);

Powered by Google App Engine
This is Rietveld 408576698