blob: 0060dc1ff6b27041e148a1a51d92f0a3dc85d031 (
plain) (
tree)
|
|
import scala.tools.partest.SessionTest
object Test extends SessionTest {
def session =
s"""|Type in expressions to have them evaluated.
|Type :help for more information.
|
|scala> :paste $pastie
|Pasting file $pastie...
|defined class Foo
|defined object Foo
|
|scala> Foo(new Foo)
|res0: Int = 7
|
|scala> """
def pastie = testPath changeExtension "pastie"
}
|