Skip to content

Commit 45918cb

Browse files
authored
Fix missing Main method in Runtime_8980 test (#121173)
Fix test build with `BuildAllTestsAsStandalone`, regression after #121120 Fixed similar to `src/tests/JIT/Regression/JitBlue/GitHub_10215/GitHub_10215.cs`
1 parent d3b36cc commit 45918cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/JIT/Regression/JitBlue/Runtime_8980/Runtime_8980.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313

1414
public class Runtime_8980
1515
{
16+
// Use the [Fact] attribute directly on Main since we can't run the generator on this project.
1617
[Fact]
17-
public static int TestEntryPoint()
18+
public static int Main()
1819
{
1920
// Large dictionary with ValueTuple values using collection initializer
2021
var dict = new Dictionary<int, (double lat, double lon)>

0 commit comments

Comments
 (0)