Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit 7630ed4

Browse files
committed
Upgrade FluentAssertions tooling
1 parent 5b7a12f commit 7630ed4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/IntListRandomizerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ public void verify_excp_on_empty_list()
122122

123123
// Test via the method taking ICollection
124124
Action act = () => list.Random();
125-
act.ShouldThrow<ArgumentOutOfRangeException>();
125+
act.Should().Throw<ArgumentOutOfRangeException>();
126126

127127
// Test via the method taking IEnumerable
128128
act = () => (list as IEnumerable<string>).Random();
129-
act.ShouldThrow<ArgumentOutOfRangeException>();
129+
act.Should().Throw<ArgumentOutOfRangeException>();
130130
}
131131

132132
#endregion Negative tests

test/test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="*" />
2323
<PackageReference Include="xunit.runner.visualstudio" Version="*" />
2424
<PackageReference Include="xunit" Version="*" />
25-
<PackageReference Include="FluentAssertions" Version="4.*" />
25+
<PackageReference Include="FluentAssertions" Version="*" />
2626
</ItemGroup>
2727

2828
</Project>

0 commit comments

Comments
 (0)