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(SpecificationExecutor.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.
Comment #1
Posted on Feb 26, 2010 by Massive Giraffe(No comment was entered for this change.)
Comment #2
Posted on Feb 28, 2010 by Massive Giraffe(No comment was entered for this change.)
Comment #3
Posted on May 26, 2010 by Massive Giraffe(No comment was entered for this change.)
Status: Verified
Labels:
Type-Defect
Priority-Medium
Milestone-1.6.4