Fixes some warnings from unit tests

This commit is contained in:
Deukhoofd committed 2025-05-02 15:53:49 +02:00
1 parent 068ff8d5b7
commit dabb26e4f2
9 files changed
+16 -24

No files matched your search

@@ -8,7 +8,7 @@ public class SpeciesDataloaderTests
[Test]
public async Task TestPrimarySpeciesFile()
{
using var file = File.Open("Data/Pokemon.json", FileMode.Open, FileAccess.Read, FileShare.Read);
await using var file = File.Open("Data/Pokemon.json", FileMode.Open, FileAccess.Read, FileShare.Read);
var typeLibrary = new TypeLibrary();
typeLibrary.RegisterType("Normal");
typeLibrary.RegisterType("Fire");