Unverified Commit 44fbf746 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Minor code cleanup (#16237)

parent da4e06bb
...@@ -66,8 +66,7 @@ void installHook({ ...@@ -66,8 +66,7 @@ void installHook({
int observatoryPort, int observatoryPort,
InternetAddressType serverType: InternetAddressType.IP_V4, InternetAddressType serverType: InternetAddressType.IP_V4,
}) { }) {
if (startPaused || observatoryPort != null) assert(!enableObservatory || (!startPaused && observatoryPort == null));
assert(enableObservatory);
hack.registerPlatformPlugin( hack.registerPlatformPlugin(
<Runtime>[Runtime.vm], <Runtime>[Runtime.vm],
() => new _FlutterPlatform( () => new _FlutterPlatform(
...@@ -705,7 +704,6 @@ void main() { ...@@ -705,7 +704,6 @@ void main() {
'--enable-dart-profiling', '--enable-dart-profiling',
'--non-interactive', '--non-interactive',
'--use-test-fonts', '--use-test-fonts',
// '--enable-txt', // enable this to test libtxt rendering
'--packages=$packages', '--packages=$packages',
testPath, testPath,
]); ]);
......
...@@ -16,7 +16,7 @@ import '../base/process_manager.dart'; ...@@ -16,7 +16,7 @@ import '../base/process_manager.dart';
import '../base/terminal.dart'; import '../base/terminal.dart';
import '../dart/package_map.dart'; import '../dart/package_map.dart';
import '../globals.dart'; import '../globals.dart';
import '../test/flutter_platform.dart' as loader; import 'flutter_platform.dart' as loader;
import 'watcher.dart'; import 'watcher.dart';
/// Runs tests using package:test and the Flutter engine. /// Runs tests using package:test and the Flutter engine.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment