Created
March 13, 2019 12:22
-
-
Save danslapman/9089e0a79a20aea05988ab0f884cdc34 to your computer and use it in GitHub Desktop.
scalatest bson Prettifier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.scalactic.Prettifier | |
import reactivemongo.bson._ | |
implicit val bdocPrettifier = Prettifier({ | |
case doc: BSONDocument => BSONDocument.pretty(doc) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment