Skip to content

Instantly share code, notes, and snippets.

@gseitz
Created July 26, 2011 05:46
Show Gist options
  • Save gseitz/1106062 to your computer and use it in GitHub Desktop.
Save gseitz/1106062 to your computer and use it in GitHub Desktop.
MatchResult escaping its 'package[specs2]' visibility scope
package example
import org.specs2.mutable.Specification
import org.specs2.matcher.MatchResult
class DummySpec extends Specification {
def intSpec: MatchResult[Int] = 1 must be equalTo 1
"Dummy" should {
"always succeed" in {
intSpec
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment