Skip to content

Commit 85111c8

Browse files
committed
Update xunit to v2.5.0
1 parent 3cb9ca5 commit 85111c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
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="11.0.2" />
3939
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
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.0" />
41+
<PackageVersion Include="xunit" Version="2.5.0" />
4242
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
4343
<PackageVersion Include="NSubstitute" Version="5.0.0" />
4444
<PackageVersion Include="Serilog.Extensions.Logging" Version="3.1.0" />

test/JsonRpc.Tests/ProcessSchedulerTests.cs

Lines changed: 2 additions & 2 deletions
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)