Skip to content

Commit 01c0b7c

Browse files
Merge main into feature/dev-execution
2 parents 2d54592 + dc38917 commit 01c0b7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/toolkit/jetbrains-core/tst/software/aws/toolkits/jetbrains/core/lsp/NodeRuntimeResolverTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ class NodeRuntimeResolverTest {
6868

6969
@Test
7070
fun `nvm glob respects NVM_DIR env var`() {
71-
val customDir = "custom/nvm"
7271
val env: (String) -> String? = { if (it == "NVM_DIR") "/custom/nvm" else null }
7372
val patterns = buildGlobPatterns(Platform.LINUX, home, env)
74-
assertThat(patterns).anyMatch { it.contains(customDir) }
73+
assertThat(patterns).anyMatch { "custom" in it && "nvm" in it && "versions" in it }
7574
}
7675

7776
@Test

0 commit comments

Comments
 (0)