Add GetKeyDB tests

This commit is contained in:
Matt Nadareski
2025-01-08 13:32:09 -05:00
parent 0e034a332b
commit 19efc30c44
6 changed files with 279 additions and 5 deletions

View File

@@ -434,9 +434,6 @@ namespace SabreTools.DatItems
}
key = $"{sourceString}{machineString}";
if (lower)
key = key.ToLowerInvariant();
break;
case ItemKey.MD5:
@@ -466,6 +463,8 @@ namespace SabreTools.DatItems
// Double and triple check the key for corner cases
key ??= string.Empty;
if (lower)
key = key.ToLowerInvariant();
return key;
}