[gradle-plugin] Fix a test with two main functions
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ class IncrementalSpecification extends BaseKonanSpecification {
|
|||||||
when:
|
when:
|
||||||
def project = KonanProject.createWithInterop(projectDirectory, ArtifactType.LIBRARY) { KonanProject it ->
|
def project = KonanProject.createWithInterop(projectDirectory, ArtifactType.LIBRARY) { KonanProject it ->
|
||||||
it.generateSrcFile(["src", "foo", "kotlin"], 'bar.kt', """
|
it.generateSrcFile(["src", "foo", "kotlin"], 'bar.kt', """
|
||||||
fun main(args: Array<String>) { println("Hello!") }
|
fun foo(args: Array<String>) { println("Hello!") }
|
||||||
""".stripIndent())
|
""".stripIndent())
|
||||||
}
|
}
|
||||||
def results = buildTwice(project) { KonanProject it ->
|
def results = buildTwice(project) { KonanProject it ->
|
||||||
|
|||||||
Reference in New Issue
Block a user