Skip to content

Commit fa9e5f0

Browse files
committed
use Assert.True
1 parent 86d72be commit fa9e5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/Loader/classloader/InlineArray/InlineArrayInvalid.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static void ExplicitSize_Fails()
2828
Console.WriteLine($"{nameof(ExplicitSize_Fails)}...");
2929

3030
// .size is ignored for auto layout
31-
Assert.Equal(true, sizeof(ExplicitSizeAuto) > 0);
31+
Assert.True(sizeof(ExplicitSizeAuto) > 0);
3232

3333
Assert.Throws<TypeLoadException>(() => { var t = typeof(ExplicitSize); });
3434

0 commit comments

Comments
 (0)