Use lenient version parser to properly parse version provided by Mac

This commit is contained in:
Michal Horejsek
2021-02-01 13:03:57 +01:00
committed by Jakub Cuth
parent 72c01046e3
commit e055acb8eb
3 changed files with 11 additions and 2 deletions

View File

@ -34,6 +34,7 @@ func TestIsVersionCatalinaOrNewer(t *testing.T) {
{"10.15.0"}: true,
{"10.16.0"}: true,
{"11.0.0"}: true,
{"11.1"}: true,
}
for args, exp := range testData {