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

Unified Diff: tests/lib/async/future_test.dart

Issue 11827017: Update remaining usages of Completer.completeException. (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
Index: tests/lib/async/future_test.dart
diff --git a/tests/lib/async/future_test.dart b/tests/lib/async/future_test.dart
index dddccf4d2c38d08f2245be88bbe0fc2b34541aa0..84effa890536ff2c82bbddacd9eec8d4d7bdb124 100644
--- a/tests/lib/async/future_test.dart
+++ b/tests/lib/async/future_test.dart
@@ -101,13 +101,6 @@ testException() {
completer.completeError(ex);
}
-testExceptionNoSuccessListeners() {
- final completer = new Completer<int>();
- final future = completer.future;
- final ex = new Exception();
- completer.completeException(ex); // future.then is not called, so no exception
-}
-
testExceptionHandler() {
final completer = new Completer<int>();
final future = completer.future;

Powered by Google App Engine
This is Rietveld 408576698