mirror of https://github.com/sbt/sbt.git
Fix tests
This commit is contained in:
parent
f6ff1f916c
commit
fddbf77877
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
ScriptedPlugin.scriptedSettings
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue