Skip to content

Commit 21b369f

Browse files
committed
Manually removing unused main args
1 parent ea258a4 commit 21b369f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/tests/JIT/Directed/Convert/out_of_range_fp_to_int_conversions.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static void TestBitValue(uint value, double? dblValNullable = null, FPtoIntegerC
371371
}
372372
}
373373

374-
static int Main(string[] args)
374+
static int Main()
375375
{
376376
switch (RuntimeInformation.ProcessArchitecture)
377377
{
@@ -389,14 +389,6 @@ static int Main(string[] args)
389389
break;
390390
}
391391
Console.WriteLine($"Expected managed float behavior is {Program.ManagedConversionRule} Execute with parameter to adjust");
392-
if (args.Length > 0)
393-
{
394-
if (!Enum.TryParse(args[0], out ManagedConversionRule))
395-
{
396-
Console.WriteLine($"Unable to parse {args[0]}");
397-
return 1;
398-
}
399-
}
400392
Console.WriteLine("Specific test cases");
401393

402394
TestBitValue(0, 9223372036854777856.0);

0 commit comments

Comments
 (0)