mirror of https://github.com/sbt/sbt.git
Merge pull request #5346 from eed3si9n/wip/nightly2
some adjustments to the scripted tests
This commit is contained in:
commit
214ae747a8
|
|
@ -1,5 +1,3 @@
|
|||
$ delete output
|
||||
> run
|
||||
$ exists output
|
||||
> publishLocal
|
||||
$ exec java -jar coursier launch io.get-coursier.test:sbt-coursier-exclude-dependencies_2.11:0.1.0-SNAPSHOT
|
||||
|
|
|
|||
|
|
@ -9,8 +9,12 @@ lazy val root = (project in file("."))
|
|||
val includeKeys = (includeLintKeys in Global).value map { _.scopedKey.key.label }
|
||||
val excludeKeys = (excludeLintKeys in Global).value map { _.scopedKey.key.label }
|
||||
val result = sbt.internal.LintUnused.lintUnused(state, includeKeys, excludeKeys)
|
||||
assert(result.size == 1)
|
||||
assert(result(0)._2 == "ThisBuild / doc / scalacOptions", result(0)._2)
|
||||
result foreach {
|
||||
case (_, "ThisBuild / doc / scalacOptions", _) => ()
|
||||
case (_, "app / globalAutoPluginSetting", _) => ()
|
||||
case (_, "root / globalAutoPluginSetting", _) => ()
|
||||
case (_, str, _) => sys.error(str)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue