Fixes some warnings from unit tests

This commit is contained in:
2025-05-02 15:53:49 +02:00
parent 068ff8d5b7
commit dabb26e4f2
9 changed files with 16 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ public class AbilityDataLoaderTests
[Test]
public async Task TestPrimaryAbilityFile()
{
using var stream = File.OpenRead("Data/Abilities.json");
await using var stream = File.OpenRead("Data/Abilities.json");
var library = AbilityDataLoader.LoadAbilities(stream);
await Assert.That(library).IsNotNull();
}