Is there a way to show better error message? For example, below code
it should "check that items satisfy predicate" in {
List(1,2,3,4,5,6).forall(x => x < 5) should equal (true)
}
only gives me following error without any description:
"false did not equal true"
Predicate can not only be least expression, but any other function. For least I found https://www.scalatest.org/user_guide/using_matchers#inspectorShorthands.