Skip to content

Commit 5bc50c1

Browse files
authored
Fix macOS migration nothing-to-upgrade test (#114703)
When testing whether a macOS deployment target version migration is unnecessary due to already being at the target version, we were previously checking the iOS deployment target version rather than the macOS version. This updates it to test MACOSX_DEPLOYMENT_TARGET instead.
1 parent cf0cd06 commit 5bc50c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/test/general.shard/macos/macos_project_migration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ keep this 2
188188
});
189189

190190
testWithoutContext('skipped if nothing to upgrade', () {
191-
const String xcodeProjectInfoFileContents = 'IPHONEOS_DEPLOYMENT_TARGET = 11.0;';
191+
const String xcodeProjectInfoFileContents = 'MACOSX_DEPLOYMENT_TARGET = 10.13;';
192192
xcodeProjectInfoFile.writeAsStringSync(xcodeProjectInfoFileContents);
193193

194194
final DateTime projectLastModified = xcodeProjectInfoFile.lastModifiedSync();

0 commit comments

Comments
 (0)