Created
July 26, 2011 05:46
-
-
Save gseitz/1106062 to your computer and use it in GitHub Desktop.
MatchResult escaping its 'package[specs2]' visibility scope
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
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