blob: 90f0c1802b42eded8640143904d6eb0adffc7138 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import scala.tools.partest.SessionTest
object Test extends SessionTest {
def session =
s"""|
|scala> :paste $pastie
|Pasting file $pastie...
|defined class Foo
|defined object Foo
|
|scala> Foo(new Foo)
|res0: Int = 7
|
|scala> :quit"""
def pastie = testPath changeExtension "pastie"
}
|