mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix (probably) bad assert when running flutter test
with asserts and --start-paused
(#25512)
Fixes #25201.
This commit is contained in:
parent
32d65fef1c
commit
cbb168e7b9
@ -84,7 +84,7 @@ void installHook({
|
|||||||
InternetAddressType serverType = InternetAddressType.IPv4,
|
InternetAddressType serverType = InternetAddressType.IPv4,
|
||||||
Uri projectRootDirectory,
|
Uri projectRootDirectory,
|
||||||
}) {
|
}) {
|
||||||
assert(!enableObservatory || (!startPaused && observatoryPort == null));
|
assert(enableObservatory || (!startPaused && observatoryPort == null));
|
||||||
hack.registerPlatformPlugin(
|
hack.registerPlatformPlugin(
|
||||||
<Runtime>[Runtime.vm],
|
<Runtime>[Runtime.vm],
|
||||||
() => _FlutterPlatform(
|
() => _FlutterPlatform(
|
||||||
|
Loading…
Reference in New Issue
Block a user