[tests] Adjust an MMP test to handle a fixed warning now that we're building for a higher min OS version.

This commit is contained in:
Rolf Bjarne Kvinge 2022-11-29 17:07:26 +01:00
Родитель 9c8db7e95b
Коммит b34f5ac088
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -117,7 +117,7 @@ namespace Xamarin.MMP.Tests {
} else {
Assert.AreEqual (2, architectures.Count, "libTest.dylib should contain 2+ architectures");
Assert.That (architectures, Is.EquivalentTo (new Abi [] { Abi.i386, Abi.x86_64 }), "libTest.dylib should be x86_64 + i386");
testResult.Messages.AssertWarningCount (1); // dylib ([...]/xamarin-macios/tests/mmptest/bin/Debug/tmp-test-dir/Xamarin.MMP.Tests.MMPTests.RunMMPTest47/bin/Release/UnifiedExample.app/Contents/MonoBundle/libTest.dylib) was built for newer macOS version (10.11) than being linked (10.9)
testResult.Messages.AssertWarningCount (0);
}
});
}