[Linker] Fix regression tests for xcode 15.

This commit is contained in:
Manuel de la Pena 2023-07-17 23:47:57 -04:00
Родитель 44b2342e9e
Коммит 558e45f9b8
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -163,6 +163,9 @@ namespace LinkSdk {
// http://bugzilla.xamarin.com/show_bug.cgi?id=865
public void Bug865_CanOpenUrl ()
{
if (TestRuntime.CheckXcodeVersion (15, 0))
Assert.Ignore ("NSUrl was fixed with Xcode 15.0");
Assert.False (UIApplication.SharedApplication.CanOpenUrl (null), "null");
// the above should not throw an ArgumentNullException
// and that's important because NSUrl.FromString and NSUrl.ctor(string) differs