Skip to content

Commit

Permalink
skip test that only works on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDunn committed Oct 20, 2023
1 parent f939bd3 commit 05b053c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ConsumerTests/StringComparisons/ForStructs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ public void OrdinalIgnoreCase_in_a_dictionary()
d.Should().ContainKey(key2Mixed);
}

[Fact]
[SkippableFact]
public void Size_is_not_bigger()
{
Skip.IfNot(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));

var s1 = Marshal.SizeOf<StringVo_Struct_NothingSpecified>();
var s2 = Marshal.SizeOf<StringVo_Struct>();

Expand Down

0 comments on commit 05b053c

Please sign in to comment.