Created
April 30, 2024 15:37
-
-
Save Daenyth/a008964c61b1740974767b833064cc5e to your computer and use it in GitHub Desktop.
Allow scalatest/scalamock to not ruin -Wnonunit-statement
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
Test / scalacOptions ++= Seq( | |
// Allow using -Wnonunit-statement to find bugs in tests without exploding from scalatest assertions | |
"-Wconf:msg=unused value of type org.scalatest.Assertion:s", | |
"-Wconf:msg=unused value of type org.scalamock:s" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to add more. Like this: