mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 14:28:47 +00:00
style: discard pure return of Randomize
This commit is contained in:
parent
5220f386aa
commit
56c3f117c7
@ -744,7 +744,7 @@ internal class StringTests
|
|||||||
[Test]
|
[Test]
|
||||||
public void Randomize_ShouldThrow_GivenNegativeLength()
|
public void Randomize_ShouldThrow_GivenNegativeLength()
|
||||||
{
|
{
|
||||||
Assert.Throws<ArgumentOutOfRangeException>(() => string.Empty.Randomize(-1));
|
Assert.Throws<ArgumentOutOfRangeException>(() => _ = string.Empty.Randomize(-1));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user