diff --git a/packages/flutter_migrate/pubspec.yaml b/packages/flutter_migrate/pubspec.yaml index e46995af2705..222b6bdd8629 100644 --- a/packages/flutter_migrate/pubspec.yaml +++ b/packages/flutter_migrate/pubspec.yaml @@ -24,4 +24,3 @@ dev_dependencies: file_testing: 3.0.0 lints: ^2.0.0 test: ^1.16.0 - test_api: ^0.4.13 diff --git a/packages/flutter_migrate/test/src/common.dart b/packages/flutter_migrate/test/src/common.dart index 6115d5ea653f..a354020d47a3 100644 --- a/packages/flutter_migrate/test/src/common.dart +++ b/packages/flutter_migrate/test/src/common.dart @@ -10,12 +10,12 @@ import 'package:flutter_migrate/src/base/file_system.dart'; import 'package:flutter_migrate/src/base/io.dart'; import 'package:meta/meta.dart'; import 'package:path/path.dart' as path; // flutter_ignore: package_path_import -import 'package:test_api/test_api.dart' as test_package show test; -import 'package:test_api/test_api.dart' hide test; +import 'package:test/test.dart' as test_package show test; +import 'package:test/test.dart' hide test; import 'test_utils.dart'; -export 'package:test_api/test_api.dart' hide isInstanceOf, test; +export 'package:test/test.dart' hide isInstanceOf, test; bool tryToDelete(FileSystemEntity fileEntity) { // This should not be necessary, but it turns out that diff --git a/packages/flutter_migrate/test/src/test_flutter_command_runner.dart b/packages/flutter_migrate/test/src/test_flutter_command_runner.dart index 7a1a2bd817c2..9f4731dada09 100644 --- a/packages/flutter_migrate/test/src/test_flutter_command_runner.dart +++ b/packages/flutter_migrate/test/src/test_flutter_command_runner.dart @@ -5,7 +5,7 @@ import 'package:args/command_runner.dart'; import 'package:flutter_migrate/src/base/command.dart'; -export 'package:test_api/test_api.dart' hide isInstanceOf, test; +export 'package:test/test.dart' hide isInstanceOf, test; CommandRunner createTestCommandRunner([MigrateCommand? command]) { final CommandRunner runner = TestCommandRunner();