Fixes some warnings from unit tests
This commit is contained in:
@@ -7,7 +7,7 @@ public class ItemDataLoaderTests
|
||||
[Test]
|
||||
public async Task TestPrimaryItemFile()
|
||||
{
|
||||
using var stream = File.OpenRead("Data/Items.json");
|
||||
await using var stream = File.OpenRead("Data/Items.json");
|
||||
var library = ItemDataLoader.LoadItems(stream);
|
||||
await Assert.That(library).IsNotNull();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user