These are chat archives for etorreborre/specs2

27th
Apr 2018
Andrey Ivanov
@a-nigredo
Apr 27 2018 08:07 UTC
Hi, How to compose few doReturn call as I can do with returns?
Eric Torreborre
@etorreborre
Apr 27 2018 08:40 UTC
Possibly doReturn(1).doReturn(2) works?
Andrey Ivanov
@a-nigredo
Apr 27 2018 09:32 UTC
@etorreborre nope, it doesnt
Eric Torreborre
@etorreborre
Apr 27 2018 09:46 UTC
Then I am sorry, I think you need to dig into Mockito to understand what’s going on. To be honest I am trying to steer away from Mockito. There are too many subtle issues: some incompatibilities with Scala, there was a concurrency bug (deadlock), I recently observed an exception due to some WeakReference management (I have no clue what’s going on) and so on.
Andrey Ivanov
@a-nigredo
Apr 27 2018 09:49 UTC
ok, anyway thx
Christopher Davenport
@ChristopherDavenport
Apr 27 2018 20:36 UTC
Was the scalajs supposed to release for 2.11 or is that not supported? I don’t see it for 4.1.0
Eric Torreborre
@etorreborre
Apr 27 2018 22:12 UTC
There might have been an issue during the publishing of the jars, I will need to check that (but it’s way too late for now :-))
Christopher Davenport
@ChristopherDavenport
Apr 27 2018 22:34 UTC
I rolled back so its all good. Looking forward to rolling onto it :smile: