Skip to content
This repository was archived by the owner on Nov 17, 2018. It is now read-only.
This repository was archived by the owner on Nov 17, 2018. It is now read-only.

"No runnable methods" error #18

Description

@xvrl

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

package com.test

import org.junit.Test
import com.simple.simplespec.Spec

class TestSpec extends Spec {
  val data: Seq[Double] = (0 to 2) map (_ * 2.0)

  class `A Spec` {
    @Test def `must work` {
      data must be(Seq(0.0, 2.0, 4.0))
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions