Skip to content

Commit

Permalink
Remove unnecessary zero-length array allocation in ProvinceTests (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains authored Jul 15, 2024
1 parent 67cf582 commit e433e1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Mod>());
private readonly StateCollection states = new();
private readonly CountryCollection countries = new();

Expand Down

0 comments on commit e433e1c

Please sign in to comment.