Fix (probably) bad assert when running flutter test with asserts and --start-paused (#25512)

Fixes #25201.
This commit is contained in:
Danny Tuppeny 2018-12-18 16:03:56 +00:00 committed by GitHub
parent 32d65fef1c
commit cbb168e7b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ void installHook({
InternetAddressType serverType = InternetAddressType.IPv4,
Uri projectRootDirectory,
}) {
assert(!enableObservatory || (!startPaused && observatoryPort == null));
assert(enableObservatory || (!startPaused && observatoryPort == null));
hack.registerPlatformPlugin(
<Runtime>[Runtime.vm],
() => _FlutterPlatform(