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({
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.
......
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