mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 02:58: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]
|
||||
public void Randomize_ShouldThrow_GivenNegativeLength()
|
||||
{
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => string.Empty.Randomize(-1));
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => _ = string.Empty.Randomize(-1));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user