pekko/akka-docs/src/test/scala/docs/CompileOnlySpec.scala
Patrik Nordwall 59f53e1a22 move code to src/test
* so that it compiles and tests pass
* fix some additional snip references in getting started
2017-05-11 17:36:45 +02:00

13 lines
301 B
Scala

/*
* Copyright (C) 2009-2017 Lightbend Inc. <http://www.lightbend.com>
*/
package docs
trait CompileOnlySpec {
/**
* Given a block of code... does NOT execute it.
* Useful when writing code samples in tests, which should only be compiled.
*/
def compileOnlySpec(body: => Unit) = ()
}