Created
July 25, 2011 13:50
-
-
Save gseitz/1104166 to your computer and use it in GitHub Desktop.
package protected trait escaping its visibility scope in specs2
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
import org.specs2.mutable.Specification | |
import org.specs2.matcher.MatchResult | |
// protected[specs2] trait MatchResult[T] ... | |
class DummySpec extends Specification { | |
// Is MatchResult escaping its visibility scope here? | |
// vvvvvvvvvvv | |
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