From 8abc1c5d06d356363ac1f2f2d315073e8aa4be2e Mon Sep 17 00:00:00 2001 From: Ruben Schmidmeister <4602612+bash@users.noreply.github.com> Date: Fri, 14 Jul 2023 10:20:53 +0200 Subject: [PATCH] Fix typo --- Funcky.Test/Monads/ResultTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Funcky.Test/Monads/ResultTest.cs b/Funcky.Test/Monads/ResultTest.cs index d4e7e272..42dfdbd6 100644 --- a/Funcky.Test/Monads/ResultTest.cs +++ b/Funcky.Test/Monads/ResultTest.cs @@ -182,19 +182,19 @@ public void ErrorConstructorLeavesExistingStackTraceUnchanged() } [Fact] - public void SelectManyWithOkResultMatchesTherightValue() + public void SelectManyWithOkResultMatchesTheRightValue() => FunctionalAssert.Ok(2, Result.Ok(1).SelectMany(i => Result.Ok(i + 1))); [Fact] - public void SelectManyWithErrorResultMatchesTherightValue() + public void SelectManyWithErrorResultMatchesTheRightValue() => FunctionalAssert.Error(Result.Error(new Exception("Any")).SelectMany(i => Result.Ok(i + 1))); [Fact] - public void SelectManyReturnErrorResultWithOkResultMatchesTherightValue() + public void SelectManyReturnErrorResultWithOkResultMatchesTheRightValue() => FunctionalAssert.Error(Result.Ok(1).SelectMany(_ => Result.Error(new Exception("Any")))); [Fact] - public void SelectManyReturnErrorResultWithErrorResultMatchesTherightValue() + public void SelectManyReturnErrorResultWithErrorResultMatchesTheRightValue() => FunctionalAssert.Error(Result.Error(new Exception("Any")).SelectMany(_ => Result.Error(new Exception("Other")))); [Fact]