From 85111c872a9fb43ac0918ee9d59c84c53a14cf5f Mon Sep 17 00:00:00 2001 From: Emmanuel ANDRE <2341261+manandre@users.noreply.github.com> Date: Sat, 2 Sep 2023 19:08:23 +0200 Subject: [PATCH 1/2] Update xunit to v2.5.0 --- Directory.Packages.props | 6 +++--- test/JsonRpc.Tests/ProcessSchedulerTests.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 450a0d268..be82495f8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,4 +1,4 @@ - + $(BaseIntermediateOutputPath)\GeneratedFiles @@ -37,8 +37,8 @@ - - + + diff --git a/test/JsonRpc.Tests/ProcessSchedulerTests.cs b/test/JsonRpc.Tests/ProcessSchedulerTests.cs index c6b661f34..f51b89e6d 100644 --- a/test/JsonRpc.Tests/ProcessSchedulerTests.cs +++ b/test/JsonRpc.Tests/ProcessSchedulerTests.cs @@ -346,7 +346,7 @@ public void Should_Handle_Exceptions_Tasks() OnCompleted(Subscribed, Unit.Default) ); var errorObservable = testScheduler.CreateColdObservable( - OnError(Subscribed, new NotSameException(), Unit.Default) + OnError(Subscribed, new NotSupportedException(), Unit.Default) ); var testObserver = testScheduler.CreateObserver(); @@ -365,7 +365,7 @@ public void Should_Handle_Exceptions_Tasks() .ToArray(); messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnNext && x.Time == Subscribed); - messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnError && x.Time == Subscribed * 2 && x.Value.Exception is NotSameException); + messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnError && x.Time == Subscribed * 2 && x.Value.Exception is NotSupportedException); messages.Should().Contain(x => x.Value.Kind == NotificationKind.OnNext && x.Time == Subscribed * 3); } From 01ff00f527bfce37e27234ddb40368eeac51551f Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Thu, 21 Sep 2023 08:01:29 -0700 Subject: [PATCH 2/2] Update xunit to 2.5.1 --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index be82495f8..b65cce003 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -37,8 +37,8 @@ - - + +