Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Change "ass" to "assertion" in MockReporter.scala (#62)
Browse files Browse the repository at this point in the history
* Change "ass" to "assertion" in MockReporter.scala

* chore: Update README.md
  • Loading branch information
geeeezmo authored May 31, 2024
1 parent 7c3f7c1 commit ba31ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock/shared/src/main/scala/zio/mock/MockReporter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ object MockReporter {
}

private def makeTestFailure(messages: Seq[String]) = {
val ass = Assertion.assertion[Any](
val assertion = Assertion.assertion[Any](
messages.mkString(" " + prefix(ExpectationState.Unsatisfied))
)(_ => false)
TestFailure.Assertion(assert("Your test case")(ass))
TestFailure.Assertion(assert("Your test case")(assertion))
}

private def prefix(state: ExpectationState) =
Expand Down

0 comments on commit ba31ab9

Please sign in to comment.