Created
May 10, 2016 12:15
-
-
Save mkotsbak/92ea64bcf945ca05f56f14aceb458009 to your computer and use it in GitHub Desktop.
Specs2 testcase Option with match macro
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
"test test" in { | |
case class Test(a: Int) | |
Some(Test(1)) must beSome[Test].matching.a(1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment