1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-09 16:55:41 +00:00
This commit is contained in:
Oliver Booth 2023-08-27 13:45:07 +01:00
parent dfa0bd4e11
commit 5220f386aa
Signed by: oliverbooth
GPG Key ID: B89D139977693FED

View File

@ -215,7 +215,9 @@ internal class StringTests
{
string value = null!;
Assert.Throws<ArgumentNullException>(() => value.CountSubstring('\0'));
#pragma warning disable CA1307
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty));
#pragma warning restore CA1307
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty, StringComparison.OrdinalIgnoreCase));
}