We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d97f0b + dc38917 commit a3a5ce2Copy full SHA for a3a5ce2
plugins/toolkit/jetbrains-core/tst/software/aws/toolkits/jetbrains/core/lsp/NodeRuntimeResolverTest.kt
@@ -68,10 +68,9 @@ class NodeRuntimeResolverTest {
68
69
@Test
70
fun `nvm glob respects NVM_DIR env var`() {
71
- val customDir = "custom/nvm"
72
val env: (String) -> String? = { if (it == "NVM_DIR") "/custom/nvm" else null }
73
val patterns = buildGlobPatterns(Platform.LINUX, home, env)
74
- assertThat(patterns).anyMatch { it.contains(customDir) }
+ assertThat(patterns).anyMatch { "custom" in it && "nvm" in it && "versions" in it }
75
}
76
77
0 commit comments