Muki-SkyWalker / specs

Automatically exported from code.google.com/p/specs
Other
0 stars 0 forks source link

Using expectations in doAfterSpec throws PathException #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by etorrebo...@gmail.com on 26 Feb 2010 at 10:33

GoogleCodeExporter commented 9 years ago

Original comment by etorrebo...@gmail.com on 28 Feb 2010 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by etorrebo...@gmail.com on 26 May 2010 at 10:26