Advertisement
Guest User

Untitled

a guest
May 19th, 2015
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.44 KB | None | 0 0
  1. // Below doesnt compile because of :
  2. // " could not find implicit value for evidence parameter of type org.specs2.main.CommandLineAsResult[Object]"
  3. //
  4. class MySpec extends Specificiation {
  5.    
  6.  "bla bla" should {
  7.    "la la" in {
  8.     //....
  9.      rootNode.loc.find( x => x.getLabel.id == "injected1") match {
  10.             case Some(tl) => tl.path === Stream(Injected("injected1"),root)
  11.             case None => failure("not found")
  12.         }
  13.      }
  14.  }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement