Skip to content

Commit

Permalink
Throw exception during test construction.
Browse files Browse the repository at this point in the history
To serve as a test case for SBT issue #653.
  • Loading branch information
ijuma committed Jan 27, 2013
1 parent c26502b commit ac82782
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/src/test/scala/foo/test/FooTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import org.scalatest.{FunSpec, ShouldMatchers}

class FooTest extends FunSpec with ShouldMatchers {

sys.error("exception during construction")

describe("Foo.foo should") {
it("always return 5") {
Foo.foo should equal (5)
}
}

}
}

0 comments on commit ac82782

Please sign in to comment.