Skip to content

Commit 6e62cd8

Browse files
committed
Build: upgrade to IDEA 242
1 parent c6a8722 commit 6e62cd8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ dependencies {
7575
implementation(libs.lsp4j)
7676
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
7777
testImplementation(libs.junit)
78+
testImplementation(libs.openTest4J)
7879

7980
psScriptAnalyzer(
8081
group = "PSScriptAnalyzer",

gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
intellij = "2023.2"
2+
intellij = "2024.2"
33
intellijPreview = "242.20224-EAP-CANDIDATE-SNAPSHOT"
44
junixsocket = "2.10.0"
55

@@ -9,6 +9,7 @@ junit = "junit:junit:4.13.2"
99
junixsocket-common = { module = "com.kohlschutter.junixsocket:junixsocket-common", version.ref = "junixsocket" }
1010
junixsocket-native-common = { module = "com.kohlschutter.junixsocket:junixsocket-native-common", version.ref = "junixsocket" }
1111
lsp4j = "org.eclipse.lsp4j:org.eclipse.lsp4j:0.23.1"
12+
openTest4J = "org.opentest4j:opentest4j:1.3.0"
1213

1314
[bundles]
1415
junixsocket = ["junixsocket-common", "junixsocket-native-common"]

src/test/kotlin/com/intellij/plugin/powershell/lang/PowerShellLexerTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ class PowerShellLexerTest : LexerTestCase() {
99
return PowerShellLexerAdapter()
1010
}
1111

12-
override fun getDirPath(): String? {
13-
return null
12+
override fun getDirPath(): String {
13+
error("Should not be called.")
1414
}
1515

16-
1716
fun testLineComment() {
1817
doTest("hello#world", "SIMPLE_ID ('hello#world')")
1918
doTest(

0 commit comments

Comments
 (0)