mirror of https://github.com/sbt/sbt.git
Merge pull request #3998 from eed3si9n/wip/fix-3143
Add test to confirm leak is gone
This commit is contained in:
commit
051d09e921
|
|
@ -0,0 +1,8 @@
|
|||
val commonSettings = Seq(
|
||||
crossScalaVersions := (0 to 6).map(i => s"2.10.$i") ++ (0 to 11).map(i => s"2.11.$i") ++ (0 to 2).map(i => s"2.12.$i")
|
||||
)
|
||||
|
||||
val p1 = project.in(file("p1")).settings(commonSettings)
|
||||
val p2 = project.in(file("p2")).settings(commonSettings)
|
||||
val p3 = project.in(file("p3")).settings(commonSettings)
|
||||
val p4 = project.in(file("p4")).settings(commonSettings)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
object B {
|
||||
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class A {
|
||||
def show(what: String): Unit = println(what)
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
object B {
|
||||
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class A {
|
||||
def show(what: String): Unit = println(what)
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
object B {
|
||||
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class A {
|
||||
def show(what: String): Unit = println(what)
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
object B {
|
||||
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class A {
|
||||
def show(what: String): Unit = println(what)
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# https://github.com/sbt/sbt/issues/3143
|
||||
> crossScalaVersions
|
||||
> +version
|
||||
Loading…
Reference in New Issue