blob: 2953796f99a450f10dd75aebc02e7a875c5e1acd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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 -raw $pastie
|Pasting file $pastie...
|
|scala> val favoriteThing = brown_paper.Gift(true)
|favoriteThing: brown_paper.Gift = Gift(true)
|
|scala> favoriteThing.hasString
|res0: Boolean = true
|
|scala> """
def pastie = testPath changeExtension "pastie"
}
|