These are chat archives for etorreborre/specs2

7th
Aug 2018
vito-c
@vito-c
Aug 07 2018 17:10
@etorreborre
class FooSpec(implicit ee: ExecutionEnv)
extends Specification {
  "Do something with a future" should {
    "be some future one" in {
       Future(Some(1)) must beSome[Int] await
    }
  }
}
there is an example
type mismatch;
[error]  found   : org.specs2.matcher.SomeMatcher[Int]
[error]  required: org.specs2.matcher.Matcher[scala.concurrent.Future[Some[Int]]]
[error]       Future(Some(1)) must beSome[Int] await
[error]                                  ^
[error] one error found