Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jul 14, 2023
1 parent 47fb85d commit 8abc1c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Funcky.Test/Monads/ResultTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>.Error(new Exception("Any")).SelectMany(i => Result.Ok(i + 1)));

[Fact]
public void SelectManyReturnErrorResultWithOkResultMatchesTherightValue()
public void SelectManyReturnErrorResultWithOkResultMatchesTheRightValue()
=> FunctionalAssert.Error(Result.Ok(1).SelectMany(_ => Result<int>.Error(new Exception("Any"))));

[Fact]
public void SelectManyReturnErrorResultWithErrorResultMatchesTherightValue()
public void SelectManyReturnErrorResultWithErrorResultMatchesTheRightValue()
=> FunctionalAssert.Error(Result<int>.Error(new Exception("Any")).SelectMany(_ => Result<int>.Error(new Exception("Other"))));

[Fact]
Expand Down

0 comments on commit 8abc1c5

Please sign in to comment.