Skip to content

Commit

Permalink
added comment regarding the use of lazy in SmartProjectTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Childers committed Sep 5, 2017
1 parent 773a5ec commit 47f401c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ case class InvalidFooProjectionType(i: Int, x: Boolean)
case class InvalidFooProjectionName(i: Int, xerr: String)

class SmartProjectTest extends TypedDatasetSuite {
// Lazy needed to prevent initialization anterior to the `beforeAll` hook
lazy val dataset = TypedDataset.create(Foo(1, 2, "hi") :: Foo(2, 3, "there") :: Nil)

test("project Foo to Bar") {
Expand Down

0 comments on commit 47f401c

Please sign in to comment.