blob: 600ac4d2f0842e9ea221e1bb37e18a5c62ddf453 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import scala.tools.partest.SessionTest
object Test extends SessionTest {
def session =
s"""|
|scala> :paste -raw $pastie
|Pasting file $pastie...
|$pastie:3: error: expected class or object definition
|val nope = 42
|^
|There were compilation errors!
|
|scala> :quit"""
def pastie = testPath changeExtension "pastie"
}
|