Skip to content

Commit

Permalink
Fix macOS migration nothing-to-upgrade test (#114703)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cbracken authored Nov 6, 2022
1 parent cf0cd06 commit 5bc50c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ keep this 2
});

testWithoutContext('skipped if nothing to upgrade', () {
const String xcodeProjectInfoFileContents = 'IPHONEOS_DEPLOYMENT_TARGET = 11.0;';
const String xcodeProjectInfoFileContents = 'MACOSX_DEPLOYMENT_TARGET = 10.13;';
xcodeProjectInfoFile.writeAsStringSync(xcodeProjectInfoFileContents);

final DateTime projectLastModified = xcodeProjectInfoFile.lastModifiedSync();
Expand Down

0 comments on commit 5bc50c1

Please sign in to comment.