diff --git a/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart b/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart index 9fedc204e7a1..af21d227cc39 100644 --- a/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart +++ b/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart @@ -211,7 +211,7 @@ void main() { expect(mockStdio.stdout.writes.map(utf8.decode), allOf( contains(matches(RegExp(r'Resolving dependencies in .+flutter_project\.\.\.'))), - contains(matches(RegExp(r'\+ flutter 0.0.0 from sdk flutter\n'))), + contains(matches(RegExp(r'\+ flutter 0\.0\.0 from sdk flutter'))), contains(matches(RegExp(r'Changed \d+ dependencies in .+flutter_project!'))), ), );