Don't allow null arrays in constructor

This commit is contained in:
Matt Nadareski
2024-10-24 03:23:56 -04:00
parent 14fc7777cb
commit 6c8c635588
2 changed files with 3 additions and 19 deletions

View File

@@ -6,16 +6,6 @@ namespace SabreTools.Test.Filter
{
public class PopulationTests
{
[Fact]
public void PopulateFilterRunnerNullListTest()
{
// Setup the list
string[]? filters = null;
// Setup the filter
Assert.Throws<ArgumentNullException>(() => new FilterRunner(filters));
}
[Fact]
public void PopulateFilterRunnerEmptyListTest()
{