Skip to content

Commit

Permalink
[monotouch-test] It doesn't look like the TryCopyCurrentNetworkInfo t…
Browse files Browse the repository at this point in the history
…est works in the iOS 11 simulator either.

Partial fix for dotnet#11504.
  • Loading branch information
rolfbjarne committed Jun 1, 2021
1 parent 1c60b17 commit 5d687d1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public void TryCopyCurrentNetworkInfo ()
// So just assert that we get null if running on iOS 12+.
if (TestRuntime.CheckXcodeVersion (10, 0)) {
Assert.IsNull (dict, "Dictionary");
} else if (TestRuntime.CheckXcodeVersion (9, 0)) {
Assert.IsNull (dict, "Dictionary"); // It doesn't seem to work in iOS 11 either, I don't know why.
} else {
Assert.IsNotNull (dict, "Dictionary");
}
Expand Down

0 comments on commit 5d687d1

Please sign in to comment.