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