From b93778df83f90fbb8b0a4b0ecea5ba2e50bb454d Mon Sep 17 00:00:00 2001
From: "rnystrom@google.com" <rnystrom@google.com>
Date: Wed, 30 Jan 2013 19:47:16 +0000
Subject: [PATCH] Remove invalid sanity check.

In the presence of setUp() it is possible for stuff to be scheduled
by the time integration() is called.

Review URL: https://codereview.chromium.org//12090075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@17870 260f80e4-7a28-3924-810f-c04153c831b5
---
 test/test_pub.dart | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/test/test_pub.dart b/test/test_pub.dart
index 98ba5ba3..66d9434f 100644
--- a/test/test_pub.dart
+++ b/test/test_pub.dart
@@ -462,11 +462,6 @@ final _TIMEOUT = 30000;
 /// operations which will be run asynchronously.
 void integration(String description, void body()) {
   test(description, () {
-    // Sanity check. Make sure we cleaned up the last test.
-    assert(_scheduled == null);
-    assert(_scheduledCleanup == null);
-    assert(_scheduledOnException == null);
-
     // Schedule the test.
     body();
 
-- 
GitLab