mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Don't allow null arrays in constructor
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user