mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:58:48 +00:00
Compare commits
2 Commits
39aafeed86
...
f36322b191
Author | SHA1 | Date | |
---|---|---|---|
|
f36322b191 | ||
7d911b9124 |
@ -175,9 +175,9 @@ internal class ListTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void RemoveRange_ShouldThrowArgumentException_GivenEndIndexLessThanStart()
|
public void RemoveRange_ShouldThrowArgumentOutOfRangeException_GivenEndIndexLessThanStart()
|
||||||
{
|
{
|
||||||
Assert.Throws<ArgumentException>(() => new List<int>().RemoveRange(2..0));
|
Assert.Throws<ArgumentOutOfRangeException>(() => new List<int>().RemoveRange(2..0));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user