We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7634d commit 2e4e57cCopy full SHA for 2e4e57c
benchmark/Benchmark.cs
@@ -117,10 +117,6 @@ public void TestErrorGetIndexOfFirstNonAsciiByteBenchmark()
117
fixed (byte* pAscii = ascii)
118
{
119
nuint result = Ascii.GetIndexOfFirstNonAsciiByte(pAscii, (nuint)ascii.Length);
120
- if (result != (nuint)i)
121
- {
122
- throw new Exception($"Expected non-ASCII character at index {i}, but found at index {result}");
123
- }
124
}
125
126
0 commit comments