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
{{ message }}
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.
Getting "No runnable methods" error with the following Spec using simplespec 0.8.4 with scala 2.10.2
The culprit seems to be the map. If I initialize the data directly using Seq(...) it works fine.
This code also works fine using scala 2.9.2 and simplespec 0.7.0
packagecom.testimportorg.junit.Testimportcom.simple.simplespec.SpecclassTestSpecextendsSpec {
valdata:Seq[Double] = (0 to 2) map (_ *2.0)
class`A Spec` {
@Testdef`must work` {
data must be(Seq(0.0, 2.0, 4.0))
}
}
}
The text was updated successfully, but these errors were encountered:
Getting "No runnable methods" error with the following Spec using simplespec 0.8.4 with scala 2.10.2
The culprit seems to be the
map
. If I initialize the data directly usingSeq(...)
it works fine.This code also works fine using scala 2.9.2 and simplespec 0.7.0
The text was updated successfully, but these errors were encountered: