aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/repl-paste-4.scala
blob: cb0a6aa7682ecd94d270392b78984b58514d64c3 (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> :quit"""
  def pastie = testPath changeExtension "pastie"
}