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/dart@17870 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
rnystrom@google.com 2013-01-30 19:47:16 +00:00
parent d4b4e7be8c
commit b0779d1453

View file

@ -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();