misc: support lastest pkg:test in dev_dependencies
diff --git a/pkgs/io/pubspec.yaml b/pkgs/io/pubspec.yaml index e8a38f4..7be2de4 100644 --- a/pkgs/io/pubspec.yaml +++ b/pkgs/io/pubspec.yaml
@@ -16,5 +16,5 @@ dev_dependencies: dart_style: ^1.0.7 - test: ^0.12.0 + test: ^1.0.0 test_descriptor: ^1.0.0
diff --git a/pkgs/io/test/process_manager_test.dart b/pkgs/io/test/process_manager_test.dart index 0503a9f..51fb521 100644 --- a/pkgs/io/test/process_manager_test.dart +++ b/pkgs/io/test/process_manager_test.dart
@@ -19,7 +19,7 @@ List<String> stderrLog; test('spawn functions should match the type definition of Process.start', () { - final isStartProcess = const isInstanceOf<StartProcess>(); + final isStartProcess = const TypeMatcher<StartProcess>(); expect(Process.start, isStartProcess); final manager = new ProcessManager(); expect(manager.spawn, isStartProcess);