10
def main(args: Array[String]) {
11
ConcurrentMapSpec.test()
22
implicit def str2ops(s: String) = new {
23
def in[U](body: =>U) {
29
implicit def any2ops(a: Any) = new {
30
def shouldEqual(other: Any) = assert(a == other)
33
def evaluating[U](body: =>U) = new {
34
def shouldProduce[T <: Throwable: ClassManifest]() = {
38
case e => if (e.getClass == implicitly[ClassManifest[T]].erasure) produced = true
40
assert(produced, "Did not produce exception of type: " + implicitly[ClassManifest[T]])