From e6628084dcfdcf76c83dc25b3cad2d01ce3dd4fa Mon Sep 17 00:00:00 2001
From: Kendal Harland <kharland@users.noreply.github.com>
Date: Sat, 26 Sep 2015 11:53:22 -0700
Subject: [PATCH] Remove assertion that prevents useful errors from being
 thrown

Running in checked mode, `assert(_asyncErrors.isEmpty)` fails and doesn't re-throw the errors the developer needs to see. Removed this assertion
---
 lib/mock/zone.dart | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mock/zone.dart b/lib/mock/zone.dart
index f5d76eabf..1fd1583ee 100644
--- a/lib/mock/zone.dart
+++ b/lib/mock/zone.dart
@@ -54,7 +54,6 @@ microLeap() {
     _asyncQueue.clear();
     // TODO: Support the case where multiple exceptions are thrown.
     // e.g. with a throwNextException() method.
-    assert(_asyncErrors.isEmpty);
     toRun.forEach((fn) => fn());
     if (_asyncErrors.isNotEmpty) {
       var e = _asyncErrors.removeAt(0);