When I used expectations in doAfterSpec, I got the folloiwng PathException.
org.specs.specification.PathException: TreePath(List(0, 1048, 1045))not
found for example 1046 (SpecificationExecutor.scala:49)
at
org.specs.specification.SpecificationExecutor$class.executeExample(Specification
Executor.scala:49
Here is an example spec:
import org.specs._
class FooSpec extends Specification {
doAfterSpec {
1 mustBe 0
2 mustBe 0
}
"1 must be 1" in { 1 mustBe 1 }
}
I use scala 2.8.0.Beta1 and specs_2.8.0.Beta1-1.6.2.jar with OpenJDK 1.7 on
NetBSD/i386 5.99.24.
Looks similar error as issue 103.
Original issue reported on code.google.com by yyam...@gmail.com on 26 Feb 2010 at 11:15
Original issue reported on code.google.com by
yyam...@gmail.com
on 26 Feb 2010 at 11:15