Skip to content

Commit

Permalink
Merge branch 'release/4.0.0' into feature/generic_math
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Jan 6, 2024
2 parents 458ab03 + 7d911b9 commit cc94905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions X10D.Tests/src/Collections/ListTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ public void RemoveRange_ShouldThrowArgumentNullException_GivenNull()
}

[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]
Expand Down

0 comments on commit cc94905

Please sign in to comment.