Skip to content

Commit a21c5cb

Browse files
committed
[tests] Adjust some tests according to changes in .NET.
1 parent 7691231 commit a21c5cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/dotnet/UnitTests/ProjectTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,10 +529,10 @@ public void InvalidRuntimeIdentifier (ApplePlatform platform, string runtimeIden
529529
}
530530

531531
[Test]
532-
[TestCase (ApplePlatform.iOS, "win10-x86", null)]
533-
[TestCase (ApplePlatform.TVOS, "win10-x64", null)]
534-
[TestCase (ApplePlatform.MacOSX, "win10-arm64", null)]
535-
[TestCase (ApplePlatform.MacCatalyst, "win10-arm64", "Unable to find package Microsoft.NETCore.App.Runtime.Mono.win-arm64. No packages exist with this id in source[(]s[)]:.*")]
532+
[TestCase (ApplePlatform.iOS, "win10-x86", "The specified RuntimeIdentifier 'win10-x86' is not recognized.")]
533+
[TestCase (ApplePlatform.TVOS, "win10-x64", "The specified RuntimeIdentifier 'win10-x64' is not recognized.")]
534+
[TestCase (ApplePlatform.MacOSX, "win10-arm64", "The specified RuntimeIdentifier 'win10-arm64' is not recognized.")]
535+
[TestCase (ApplePlatform.MacCatalyst, "win10-arm64", "The specified RuntimeIdentifier 'win10-arm64' is not recognized.")]
536536
public void InvalidRuntimeIdentifier_Restore (ApplePlatform platform, string runtimeIdentifier, string? failureMessagePattern)
537537
{
538538
var project = "MySimpleApp";

0 commit comments

Comments
 (0)