[gradle-plugin] Fix a test with two main functions

This commit is contained in:
Ilya Matveev
2018-01-24 19:21:06 +07:00
committed by ilmat192
parent 9ea6642b49
commit 2e54fb9144
@@ -126,7 +126,7 @@ class IncrementalSpecification extends BaseKonanSpecification {
when:
def project = KonanProject.createWithInterop(projectDirectory, ArtifactType.LIBRARY) { KonanProject it ->
it.generateSrcFile(["src", "foo", "kotlin"], 'bar.kt', """
fun main(args: Array<String>) { println("Hello!") }
fun foo(args: Array<String>) { println("Hello!") }
""".stripIndent())
}
def results = buildTwice(project) { KonanProject it ->