Skip to content

Commit

Permalink
Switch from test_api to test
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmorgan committed Feb 14, 2024
1 parent 150af39 commit d68a11b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/flutter_migrate/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ dev_dependencies:
file_testing: 3.0.0
lints: ^2.0.0
test: ^1.16.0
test_api: ^0.4.13
6 changes: 3 additions & 3 deletions packages/flutter_migrate/test/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> createTestCommandRunner([MigrateCommand? command]) {
final CommandRunner<void> runner = TestCommandRunner();
Expand Down

0 comments on commit d68a11b

Please sign in to comment.