mirror of https://github.com/sbt/sbt.git
Ugh. trying to make codacy happy
This commit is contained in:
parent
ae58cf342b
commit
307c725cd1
|
|
@ -26,8 +26,7 @@ class MergeDescriptorSpec extends BaseIvySpecification {
|
||||||
m.withModule(log) {
|
m.withModule(log) {
|
||||||
case (ivy, md, _) =>
|
case (ivy, md, _) =>
|
||||||
val deps = md.getDependencies
|
val deps = md.getDependencies
|
||||||
assert(deps.size == 1)
|
deps.headOption.getOrElse(sys.error("Dependencies not found")) match {
|
||||||
deps.head match {
|
|
||||||
case dd @ MergedDescriptors(dd0, dd1) =>
|
case dd @ MergedDescriptors(dd0, dd1) =>
|
||||||
val arts = dd.getAllDependencyArtifacts
|
val arts = dd.getAllDependencyArtifacts
|
||||||
val a0: DependencyArtifactDescriptor = arts.toList(0)
|
val a0: DependencyArtifactDescriptor = arts.toList(0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue