mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 14:48:47 +00:00
style: amend 2fb91d5175
This commit is contained in:
parent
dfa0bd4e11
commit
5220f386aa
@ -215,7 +215,9 @@ internal class StringTests
|
|||||||
{
|
{
|
||||||
string value = null!;
|
string value = null!;
|
||||||
Assert.Throws<ArgumentNullException>(() => value.CountSubstring('\0'));
|
Assert.Throws<ArgumentNullException>(() => value.CountSubstring('\0'));
|
||||||
|
#pragma warning disable CA1307
|
||||||
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty));
|
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty));
|
||||||
|
#pragma warning restore CA1307
|
||||||
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty, StringComparison.OrdinalIgnoreCase));
|
Assert.Throws<ArgumentNullException>(() => value.CountSubstring(string.Empty, StringComparison.OrdinalIgnoreCase));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user