mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 08:53:11 +08:00
Migrate some tool commands to NNBD (#3899)
Now that individual commands can be migrated, migrate several commands that are trivially migratable. Part of https://github.com/flutter/flutter/issues/81912
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart=2.9
|
||||
|
||||
import 'package:args/command_runner.dart';
|
||||
import 'package:file/file.dart';
|
||||
import 'package:flutter_plugin_tools/src/common.dart';
|
||||
@ -16,8 +14,8 @@ import 'util.dart';
|
||||
|
||||
void main() {
|
||||
group('test drive_example_command', () {
|
||||
CommandRunner<void> runner;
|
||||
RecordingProcessRunner processRunner;
|
||||
late CommandRunner<void> runner;
|
||||
late RecordingProcessRunner processRunner;
|
||||
final String flutterCommand =
|
||||
const LocalPlatform().isWindows ? 'flutter.bat' : 'flutter';
|
||||
setUp(() {
|
||||
|
Reference in New Issue
Block a user