2016-02-26 18:38:24 +01:00
|
|
|
/*
|
2017-01-04 17:37:10 +01:00
|
|
|
* Copyright (C) 2009-2017 Lightbend Inc. <http://www.lightbend.com>
|
2016-02-26 18:38:24 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
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) = ()
|
|
|
|
|
}
|