Minor code cleanup (#16237)
This commit is contained in:
@@ -66,8 +66,7 @@ void installHook({
|
||||
int observatoryPort,
|
||||
InternetAddressType serverType: InternetAddressType.IP_V4,
|
||||
}) {
|
||||
if (startPaused || observatoryPort != null)
|
||||
assert(enableObservatory);
|
||||
assert(!enableObservatory || (!startPaused && observatoryPort == null));
|
||||
hack.registerPlatformPlugin(
|
||||
<Runtime>[Runtime.vm],
|
||||
() => new _FlutterPlatform(
|
||||
@@ -705,7 +704,6 @@ void main() {
|
||||
'--enable-dart-profiling',
|
||||
'--non-interactive',
|
||||
'--use-test-fonts',
|
||||
// '--enable-txt', // enable this to test libtxt rendering
|
||||
'--packages=$packages',
|
||||
testPath,
|
||||
]);
|
||||
|
||||
@@ -16,7 +16,7 @@ import '../base/process_manager.dart';
|
||||
import '../base/terminal.dart';
|
||||
import '../dart/package_map.dart';
|
||||
import '../globals.dart';
|
||||
import '../test/flutter_platform.dart' as loader;
|
||||
import 'flutter_platform.dart' as loader;
|
||||
import 'watcher.dart';
|
||||
|
||||
/// Runs tests using package:test and the Flutter engine.
|
||||
|
||||
Reference in New Issue
Block a user