Skip to content

Commit 8b0137f

Browse files
authored
Merge pull request #1010 from manandre/update-xunit
Update xunit to v2.5.0
2 parents faabd2b + e85e558 commit 8b0137f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Directory.Packages.props

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<Project>
33
<PropertyGroup>
44
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath>
@@ -37,8 +37,8 @@
3737
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
3838
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
3939
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
40-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
41-
<PackageVersion Include="xunit" Version="2.4.2" />
40+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.1" />
41+
<PackageVersion Include="xunit" Version="2.5.1" />
4242
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
4343
<PackageVersion Include="Verify.Xunit" Version="16.9.0" />
4444
<PackageVersion Include="Verify.SourceGenerators" Version="1.5.0" />

test/JsonRpc.Tests/ProcessSchedulerTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public void Should_Handle_Exceptions_Tasks()
346346
OnCompleted(Subscribed, Unit.Default)
347347
);
348348
var errorObservable = testScheduler.CreateColdObservable(
349-
OnError(Subscribed, new NotSameException(), Unit.Default)
349+
OnError(Subscribed, new NotSupportedException(), Unit.Default)
350350
);
351351
var testObserver = testScheduler.CreateObserver<Unit>();
352352

@@ -365,7 +365,7 @@ public void Should_Handle_Exceptions_Tasks()
365365
.ToArray();
366366

367367
messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnNext && x.Time == Subscribed);
368-
messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnError && x.Time == Subscribed * 2 && x.Value.Exception is NotSameException);
368+
messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnError && x.Time == Subscribed * 2 && x.Value.Exception is NotSupportedException);
369369
messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnNext && x.Time == Subscribed * 3);
370370
}
371371

0 commit comments

Comments
 (0)