minor bugfix
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Benchmark
|
||||
private static bool TryGetPrefix(in string identity, ref int lastPosition, out string prefix)
|
||||
{
|
||||
prefix = identity.Remove(lastPosition + 1);
|
||||
if (prefix.Length <= 3) return false;
|
||||
if (prefix.Length < 3) return false;
|
||||
return !prefix.Any(character => character < 'A' || character > 'Z');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user