Skip to content

Instantly share code, notes, and snippets.

@bdkosher
Last active December 20, 2018 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdkosher/08c69df4ca252ee090a3358560453a6a to your computer and use it in GitHub Desktop.
Save bdkosher/08c69df4ca252ee090a3358560453a6a to your computer and use it in GitHub Desktop.
Simple yet kludgy way to get around "Tests should include assertions" false positives reported by Sonar, perhaps due to AssertJ.
assertThat("Avoid squid:S2699 false positive.").isNotBlank();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment