Skip to content

Instantly share code, notes, and snippets.

@mkows
Last active February 24, 2017 11:50
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 mkows/88235be9d28214e385d045768aa294ee to your computer and use it in GitHub Desktop.
Save mkows/88235be9d28214e385d045768aa294ee to your computer and use it in GitHub Desktop.
IntelliJ Scala Flat Spec Template (Matchers only)
#if ((${PACKAGE_NAME} && ${PACKAGE_NAME} != ""))package ${PACKAGE_NAME} #end
import org.scalatest.{FlatSpec, Matchers}
#set($NAME_WITHOUT_SUFFIX4 = $NAME.length() - 4)
class ${NAME} extends FlatSpec with Matchers {
"${NAME.substring(0, $NAME_WITHOUT_SUFFIX4)}" should "_" in {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment