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]