From e433e1c50783d457ac6de6bdb3fadbfc5a015045 Mon Sep 17 00:00:00 2001 From: IhateTrains Date: Mon, 15 Jul 2024 22:35:27 +0100 Subject: [PATCH] Remove unnecessary zero-length array allocation in ProvinceTests (#2081) --- ImperatorToCK3.UnitTests/Imperator/Provinces/ProvinceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImperatorToCK3.UnitTests/Imperator/Provinces/ProvinceTests.cs b/ImperatorToCK3.UnitTests/Imperator/Provinces/ProvinceTests.cs index 7c01fb414..a006b498a 100644 --- a/ImperatorToCK3.UnitTests/Imperator/Provinces/ProvinceTests.cs +++ b/ImperatorToCK3.UnitTests/Imperator/Provinces/ProvinceTests.cs @@ -16,7 +16,7 @@ namespace ImperatorToCK3.UnitTests.Imperator.Provinces; [CollectionDefinition("Sequential", DisableParallelization = true)] public class ProvinceTests { private const string ImperatorRoot = "TestFiles/Imperator/game"; - private readonly ModFilesystem imperatorModFS = new(ImperatorRoot, new Mod[] { }); + private readonly ModFilesystem imperatorModFS = new(ImperatorRoot, Array.Empty()); private readonly StateCollection states = new(); private readonly CountryCollection countries = new();