Use target-type new.
This commit is contained in:
@@ -7,7 +7,7 @@ public class Day02_Tests
|
||||
[Fact]
|
||||
public void ResolvePart1__Example()
|
||||
{
|
||||
Day02 day = new Day02();
|
||||
Day02 day = new();
|
||||
|
||||
string result = day.ResolvePart1([
|
||||
"1-3 a: abcde",
|
||||
@@ -25,7 +25,7 @@ public class Day02_Tests
|
||||
[Fact]
|
||||
public void ResolvePart2__Example()
|
||||
{
|
||||
Day02 day = new Day02();
|
||||
Day02 day = new();
|
||||
|
||||
string result = day.ResolvePart2([
|
||||
"1-3 a: abcde",
|
||||
|
||||
Reference in New Issue
Block a user