Update nunit for Unit Tests running with .net7

This commit is contained in:
Wojciech Figat
2022-12-20 18:21:45 +01:00
parent f874a0ad57
commit 580f4120dc
32 changed files with 4007 additions and 64 deletions

View File

@@ -1027,7 +1027,7 @@ namespace FlaxEditor.Utilities
internal static string FormatFloat(string str, bool isNegative)
{
// Reference: https://stackoverflow.com/questions/1546113/double-to-string-conversion-without-scientific-notation
int x = str.IndexOf('E');
int x = str.IndexOf('E', StringComparison.OrdinalIgnoreCase);
if (x < 0)
return str;
int x1 = x + 1;