From 4d29546c46f1f9e60ee520ddc87dc160e45afa3f Mon Sep 17 00:00:00 2001 From: Mark O'Sullivan Date: Wed, 16 Nov 2022 20:57:33 +0100 Subject: [PATCH] refactor: updated dependencies Had to update the mock dependency as @GenerateNiceMock wasn't working with the previous version --- pubspec.yaml | 10 +++++----- test/macos/macos_icon_generator_test.dart | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 7cc0884573..e4807ff690 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: yaml: ^3.1.0 environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.13.0 <3.0.0' dev_dependencies: # Needed by build_version @@ -24,7 +24,7 @@ dev_dependencies: # allows us to get version number from pubspec yaml which we can pass to Sentry # https://pub.dev/packages/build_version build_version: ^2.1.1 - json_serializable: ^6.2.0 - mockito: ^5.2.0 - test: ^1.21.1 - test_descriptor: ^2.0.0 + json_serializable: ^6.5.4 + mockito: ^5.3.2 + test: ^1.22.0 + test_descriptor: ^2.0.1 diff --git a/test/macos/macos_icon_generator_test.dart b/test/macos/macos_icon_generator_test.dart index 5da0cd8bd0..15a79e8b06 100644 --- a/test/macos/macos_icon_generator_test.dart +++ b/test/macos/macos_icon_generator_test.dart @@ -11,13 +11,15 @@ import 'package:test/test.dart'; import 'package:test_descriptor/test_descriptor.dart' as d; import '../templates.dart' as templates; -import 'macos_icon_generator_test.mocks.dart'; @GenerateNiceMocks([ MockSpec(), MockSpec(), MockSpec(), ]) + +import 'macos_icon_generator_test.mocks.dart'; + void main() { group('MacOSIconGenerator', () { late IconGeneratorContext context;