Skip to content

Commit a41822c

Browse files
committed
Rename LintTest to DiagnosticTest
1 parent 2e7f53f commit a41822c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/test/kotlin/org/javacs/kt/LintTest.kt renamed to server/src/test/kotlin/org/javacs/kt/DiagnosticTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import org.hamcrest.Matchers.*
99
import org.junit.Assert.assertThat
1010
import org.junit.Test
1111

12-
class LintTest : SingleFileTestFixture("lint", "LintErrors.kt") {
12+
class DiagnosticTest : SingleFileTestFixture("diagnostic", "DiagnosticErrors.kt") {
1313
@Test fun `report error on open`() {
1414
languageServer.textDocumentService.debounceLint.waitForPendingTask()
1515

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
private class LintErrors {
1+
private class DiagnosticErrors {
22
fun foo() {
33
return 1
44
}
5-
}
5+
}

0 commit comments

Comments
 (0)