Fix tests

This commit is contained in:
Eugene Yokota 2016-04-29 02:12:35 -04:00
parent f6ff1f916c
commit fddbf77877
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import java.io._
import org.specs2.mutable.Specification
import sbt.internal.{ Load, BuildDef }
import sbt.internal.{ Load, BuildDef, OldPlugin }
import sbt.internal.util.{ AttributeEntry, AttributeMap, ConsoleOut, GlobalLogging, MainLogging, Settings }
object PluginCommandTestPlugin0 extends AutoPlugin
@ -83,7 +83,7 @@ object FakeState {
)
val pluginData = PluginData(Nil, Nil, None, None, Nil)
val detectedModules: DetectedModules[Plugin] = new DetectedModules(Nil)
val detectedModules: DetectedModules[OldPlugin] = new DetectedModules(Nil)
val builds: DetectedModules[BuildDef] = new DetectedModules[BuildDef](Nil)
val detectedAutoPlugins: Seq[DetectedAutoPlugin] = plugins.map(p => DetectedAutoPlugin(p.label, p, hasAutoImport = false))

View File

@ -1 +0,0 @@
ScriptedPlugin.scriptedSettings

View File

@ -15,6 +15,7 @@ $ copy-file changes/local.sbt local.sbt
> check 7
# square
# plugins, global.sbt, and then local.sbt = (100 * 100) / 25 + 3
$ copy-file changes/Global.scala global/plugins/Global.scala
> reload
> check 19
> check 403