Add GetKey tests

This commit is contained in:
Matt Nadareski
2025-01-08 13:20:59 -05:00
parent e53d729471
commit 0e034a332b
6 changed files with 116 additions and 4 deletions

View File

@@ -135,6 +135,8 @@ namespace SabreTools.DatItems.Formats
// Double and triple check the key for corner cases
key ??= string.Empty;
if (lower)
key = key.ToLowerInvariant();
return key;
}