mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 08:53:11 +08:00
[tool] Add pigeon support to update-dependency (#3640)
[tool] Add pigeon support to update-dependency
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.
|
||||
|
||||
import 'dart:io' as io;
|
||||
|
||||
import 'package:args/command_runner.dart';
|
||||
import 'package:file/file.dart';
|
||||
import 'package:file/memory.dart';
|
||||
@ -57,8 +55,8 @@ void main() {
|
||||
test('fails if "dart fix" fails', () async {
|
||||
createFakePlugin('foo', packagesDir);
|
||||
|
||||
processRunner.mockProcessesForExecutable['dart'] = <io.Process>[
|
||||
MockProcess(exitCode: 1),
|
||||
processRunner.mockProcessesForExecutable['dart'] = <FakeProcessInfo>[
|
||||
FakeProcessInfo(MockProcess(exitCode: 1), <String>['fix']),
|
||||
];
|
||||
|
||||
Error? commandError;
|
||||
|
Reference in New Issue
Block a user