Skip to content

Commit

Permalink
[tests] Update generator tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Feb 3, 2023
1 parent ccea692 commit 11a915e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/generator/BGenTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1064,13 +1064,13 @@ public void AttributesFromInlinedProtocols (Profile profile)

@"[BindingImpl(3)]
[Export(""someMethod3:"")]
[SupportedOSPlatform(""ios11.0"")]
[SupportedOSPlatform(""ios"")]
[SupportedOSPlatform(""maccatalyst"")]
[UnsupportedOSPlatform(""tvos"")]",

@"[BindingImpl(3)]
[Export(""someMethod4:"")]
[SupportedOSPlatform(""ios11.0"")]
[SupportedOSPlatform(""ios"")]
[SupportedOSPlatform(""maccatalyst"")]
[UnsupportedOSPlatform(""tvos"")]",
};
Expand Down Expand Up @@ -1159,7 +1159,7 @@ public void GeneratedAttributeOnPropertyAccessors ()
var getter = messaging.Methods.First (v => v.Name == "get_IsLoadedInProcess");
var expectedPropertyAttributes =
@"[SupportedOSPlatform(""maccatalyst"")]
[SupportedOSPlatform(""macos10.15"")]
[SupportedOSPlatform(""macos"")]
[UnsupportedOSPlatform(""ios"")]
[UnsupportedOSPlatform(""tvos"")]";
Assert.AreEqual (expectedPropertyAttributes, RenderSupportedOSPlatformAttributes (property), "Property attributes");
Expand Down

0 comments on commit 11a915e

Please sign in to comment.