From d0d8c738bb472af32034266b750e3dce4657b2c1 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Thu, 2 Jan 2025 12:27:49 -0500 Subject: [PATCH] [tool] Ensure that leak_tracker_flutter_testing is dev-only Adds `leak_tracker_flutter_testing` to the list of dependencies that can only be added to `dev_dependencies`. --- script/tool/lib/src/pubspec_check_command.dart | 1 + script/tool/test/pubspec_check_command_test.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/script/tool/lib/src/pubspec_check_command.dart b/script/tool/lib/src/pubspec_check_command.dart index d8fafb1b2b6..db6e7d0dc79 100644 --- a/script/tool/lib/src/pubspec_check_command.dart +++ b/script/tool/lib/src/pubspec_check_command.dart @@ -564,6 +564,7 @@ class PubspecCheckCommand extends PackageLoopingCommand { 'build_runner', 'integration_test', 'flutter_test', + 'leak_tracker_flutter_testing', 'mockito', 'pigeon', 'test', diff --git a/script/tool/test/pubspec_check_command_test.dart b/script/tool/test/pubspec_check_command_test.dart index 6fec0be3621..07332131904 100644 --- a/script/tool/test/pubspec_check_command_test.dart +++ b/script/tool/test/pubspec_check_command_test.dart @@ -1769,6 +1769,7 @@ ${_topicsSection()} 'build_runner', 'integration_test', 'flutter_test', + 'leak_tracker_flutter_testing', 'mockito', 'pigeon', 'test',