Skip to content

Commit 359ae6e

Browse files
committed
Update OptionsFormTests.cs
1 parent feb1de1 commit 359ae6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DiffEngineTray.Tests/OptionsFormTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task WithKeys()
3535
Key = "A"
3636
}
3737
},
38-
_ => Task.FromResult<IReadOnlyCollection<string>>(new List<string>()));
38+
_ => Task.FromResult<IReadOnlyCollection<string>>([]));
3939
await Verify(form);
4040
}
4141

@@ -44,7 +44,7 @@ public async Task Default()
4444
{
4545
using var form = new OptionsForm(
4646
new(),
47-
_ => Task.FromResult<IReadOnlyCollection<string>>(new List<string>()));
47+
_ => Task.FromResult<IReadOnlyCollection<string>>([]));
4848
await Verify(form);
4949
}
5050
}

0 commit comments

Comments
 (0)