Skip to content

Commit 4364eda

Browse files
authored
chore: update xunit.assert to version 2.5.1 (#233)
* chore: update xunit.assert to version 2.5.1 * add System.Collections.Concurrent to tests * add System.ObjectModel to tests
1 parent 355131b commit 4364eda

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/FluentAssertions.Analyzers.Tests/DiagnosticVerifier.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
using XunitAssert = Xunit.Assert;
2020
using System.Net.Http;
21+
using System.Collections.Concurrent;
22+
using System.Collections.ObjectModel;
2123

2224
namespace FluentAssertions.Analyzers.Tests
2325
{
@@ -40,6 +42,8 @@ static DiagnosticVerifier()
4042
typeof(AssertionExtensions), // FluentAssertions
4143
typeof(HttpRequestMessage), // System.Net.Http
4244
typeof(ImmutableArray), // System.Collections.Immutable
45+
typeof(ConcurrentBag<>), // System.Collections.Concurrent
46+
typeof(ReadOnlyDictionary<,>), // System.ObjectModel
4347
typeof(Microsoft.VisualStudio.TestTools.UnitTesting.Assert), // MsTest
4448
typeof(XunitAssert), // Xunit
4549
}.Select(type => type.GetTypeInfo().Assembly.Location)

src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
1616
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
1717
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
18-
<PackageReference Include="xunit.assert" Version="2.4.2" />
18+
<PackageReference Include="xunit.assert" Version="2.5.1" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

0 commit comments

Comments
 (0)