move code to src/test
* so that it compiles and tests pass * fix some additional snip references in getting started
This commit is contained in:
parent
413df8e0f4
commit
59f53e1a22
289 changed files with 45 additions and 45 deletions
13
akka-docs/src/test/scala/docs/CompileOnlySpec.scala
Normal file
13
akka-docs/src/test/scala/docs/CompileOnlySpec.scala
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* 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) = ()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue