aboutsummaryrefslogblamecommitdiff
path: root/src/test/scala/scala/async/neg/SampleNegSpec.scala
blob: 76f9c3eca74e83c5099eb4feaae47f19258edb44 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                             


                   


                               

                         
                     
       
                          




                                            

   
/*
 * Copyright (C) 2012 Typesafe Inc. <http://www.typesafe.com>
 */

package scala.async
package neg

import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import org.junit.Test

@RunWith(classOf[JUnit4])
class SampleNegSpec {
  @Test
  def `missing symbol`() {
    expectError("not found: value kaboom") {
      """
        | kaboom
      """.stripMargin
    }
  }
}