Remove a misfiring assert in the test framework plugin (#7397)

Fixes https://github.com/flutter/flutter/issues/7351

When a test runs to completion, the test harness closes the stream side of the
StreamChannel, causing the sink side to be closed as well.  So by the time we
receive a test result of completed/harnessBailed, the controller sink has been
closed.
This commit is contained in:
Jason Simmons 2017-01-09 16:52:00 -08:00 committed by GitHub
parent 2eecb8be37
commit fb8179bfed

View File

@ -164,7 +164,6 @@ class FlutterPlatform extends PlatformPlugin {
harnessToTest.cancel();
testToHarness.cancel();
assert(!controllerSinkClosed);
switch (testResult) {
case _TestResult.crashed:
int exitCode = await process.exitCode;