You can use === in Scala assert to throw a more meaningful message.