Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti committed Dec 29, 2023
1 parent a40b39e commit de416b6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions AsyncKeyedLock.Tests/StripedAsyncKeyedLocker/OriginalTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@ public void TestHashHelpersIsPrime7199374DoesNotThrow()
}

[Fact]
public void TestHashHelpersIsPrimeIntMaxValueDoesNotThrow()
public void TestHashHelpersGetPrimeIntMaxValue()
{
Action action = () =>
{
var asyncKeyedLocker = new StripedAsyncKeyedLocker<string>(int.MaxValue);
};
action.Should().NotThrow();
HashHelpers.GetPrime(int.MaxValue).Should().Be(int.MaxValue);
}

[Fact]
Expand Down

0 comments on commit de416b6

Please sign in to comment.