Skip to content

Commit

Permalink
Fixed typo in test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
barambani committed May 3, 2018
1 parent cdb0d4c commit 7dc91ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/test/scala/cats/tests/ApplicativeErrorSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ class ApplicativeErrorSuite extends CatsSuite {
}

test("or leaves unchanged a success") {
failed or Some(17) should === (Some(17))
17.some or None should === (Some(17))
}

test("or transforms an error to the alternative") {
17.some or None should === (Some(17))
failed or Some(17) should === (Some(17))
}
}

0 comments on commit 7dc91ad

Please sign in to comment.