Migrate to TUnit for unit tests
This commit is contained in:
@@ -5,10 +5,10 @@ namespace PkmnLib.Tests.Dataloader;
|
||||
public class ItemDataLoaderTests
|
||||
{
|
||||
[Test]
|
||||
public void TestPrimaryItemFile()
|
||||
public async Task TestPrimaryItemFile()
|
||||
{
|
||||
using var stream = File.OpenRead("Data/Items.json");
|
||||
var library = ItemDataLoader.LoadItems(stream);
|
||||
Assert.That(library, Is.Not.Null);
|
||||
await Assert.That(library).IsNotNull();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user