We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a67eb2 commit e16e98cCopy full SHA for e16e98c
server/src/test/kotlin/org/javacs/kt/GradleDSLScriptTest.kt
@@ -1,11 +1,15 @@
1
package org.javacs.kt
2
3
+import org.junit.Before
4
import org.junit.Test
5
import org.junit.Assert.assertThat
6
import org.hamcrest.Matchers.*
7
import org.eclipse.lsp4j.MarkupContent
8
-class GradleDSLScriptTest : SingleFileTestFixture("kotlinDSLWorkspace", "build.gradle.kts") {
9
+class GradleDSLScriptTest : SingleFileTestFixture("kotlinDSLWorkspace", "build.gradle.kts", Configuration().apply {
10
+ scripts.enabled = true
11
+ scripts.buildScriptsEnabled = true
12
+}) {
13
@Test fun `edit repositories`() {
14
val completions = languageServer.textDocumentService.completion(completionParams(file, 7, 13)).get().right!!
15
val labels = completions.items.map { it.label }
0 commit comments