You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use path.FreeSpec with Akka. Because Akka's TestKit is a class, I have to use the trait version of path.FreeSpec: path.FreeSpecLike. However, at runtime I get an exception when the test class is cast to path.FreeSpec:
... cannot be cast to org.scalatest.path.FreeSpec
I was able to fix the problem locally by changing the cast to use the trait instead of the class at line 51 of FreeSpecLike.java:
Ah, that's a bug! We'll fix that and do a 2.1.6, because it will be binary compatible. I am away for the weekend with very spotty internet, so it will be early this coming week before I can release it, hopefully Monday.
Was quite busy running around today and only now got 2.1.6 released for 2.10. Will get it out for 2.11 tomorrow, as well as the release notes, etc. The only change it has is this bug fix.
I'm trying to use path.FreeSpec with Akka. Because Akka's TestKit is a class, I have to use the trait version of path.FreeSpec: path.FreeSpecLike. However, at runtime I get an exception when the test class is cast to path.FreeSpec:
I was able to fix the problem locally by changing the cast to use the trait instead of the class at line 51 of FreeSpecLike.java:
This problem was also in FunSpecLike and I suspect it's in the other traits.
I'm using ScalaTest 2.1.5, Scala 2.11.0, Akka 2.3.2.
The text was updated successfully, but these errors were encountered: