diff --git a/server/src/test/kotlin/org/javacs/kt/GradleDSLScriptTest.kt b/server/src/test/kotlin/org/javacs/kt/GradleDSLScriptTest.kt index 0f15e59a4..72de5fe43 100644 --- a/server/src/test/kotlin/org/javacs/kt/GradleDSLScriptTest.kt +++ b/server/src/test/kotlin/org/javacs/kt/GradleDSLScriptTest.kt @@ -1,11 +1,15 @@ package org.javacs.kt +import org.junit.Before import org.junit.Test import org.junit.Assert.assertThat import org.hamcrest.Matchers.* import org.eclipse.lsp4j.MarkupContent -class GradleDSLScriptTest : SingleFileTestFixture("kotlinDSLWorkspace", "build.gradle.kts") { +class GradleDSLScriptTest : SingleFileTestFixture("kotlinDSLWorkspace", "build.gradle.kts", Configuration().apply { + scripts.enabled = true + scripts.buildScriptsEnabled = true +}) { @Test fun `edit repositories`() { val completions = languageServer.textDocumentService.completion(completionParams(file, 7, 13)).get().right!! val labels = completions.items.map { it.label }