Skip to content

Commit b65f28c

Browse files
authoredNov 9, 2023
Fix test returning 100 unconditionally (#94531)
Xunit error XUW1002: Tests should not unconditionally return 100. Convert to a void return.
1 parent 28dcc44 commit b65f28c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/tests/Loader/classloader/regressions/GitHub_93770/GitHub_93770.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ namespace ReproGH93770;
2020
public class ReproGH93770
2121
{
2222
[Fact]
23-
public static int TestEntryPoint()
23+
public static void TestEntryPoint()
2424
{
2525
C c = new C();
2626
I1 i1 = c;
2727
Helper(i1);
28-
return 100;
2928
}
3029
[MethodImpl(MethodImplOptions.NoInlining)]
3130
private static void Helper(I1 i1)

0 commit comments

Comments
 (0)