mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Address some nullability in tests
This commit is contained in:
@@ -108,8 +108,10 @@ namespace SabreTools.Test.DatFiles
|
||||
};
|
||||
|
||||
dict.ClearMarked();
|
||||
Assert.Single(dict.Keys);
|
||||
Assert.Single(dict["game-1"]);
|
||||
string key = Assert.Single(dict.Keys);
|
||||
Assert.Equal("game-1", key);
|
||||
Assert.NotNull(dict[key]);
|
||||
Assert.Single(dict[key]!);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
||||
Reference in New Issue
Block a user