Merge branch 'release/4.0.0' into feature/generic_math

This commit is contained in:
Oliver Booth 2024-01-06 17:12:01 +00:00
commit cc94905930
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 2 additions and 2 deletions

View File

@ -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]