mirror of https://github.com/sbt/sbt.git
Bumped the Scalatest/Specs versions for 2.10.0-RC3
* Modified tests to use mutable Specs API * Fixed a few minor specs issues.
This commit is contained in:
parent
ae67f6f85d
commit
7f5f936db4
|
|
@ -1,7 +1,8 @@
|
|||
package sbt
|
||||
|
||||
import java.io.File
|
||||
import org.specs._
|
||||
import org.specs2._
|
||||
import mutable.Specification
|
||||
import IO.{createDirectory, delete, touch, withTemporaryDirectory}
|
||||
import org.apache.ivy.util.ChecksumHelper
|
||||
import IfMissing.Fail
|
||||
|
|
@ -78,4 +79,4 @@ object ComponentManagerTest extends Specification
|
|||
private def randomString = "asdf"
|
||||
private def withManager[T](f: ComponentManager => T): T =
|
||||
TestLogger( logger => withTemporaryDirectory { temp => f(new ComponentManager(xsbt.boot.Locks, new xsbt.boot.ComponentProvider(temp, true), None, logger)) } )
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue