Skip to content

Commit

Permalink
bugfix: Also ignore test case in CodeLensLspSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Oct 19, 2024
1 parent 0e3ada9 commit 97cc557
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/unit/src/main/scala/tests/BaseCodeLensLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ abstract class BaseCodeLensLspSuite(

protected def testRunShellCommand(
name: String,
javaHome: Option[String] = None,
javaHome: => Option[String] = None,
): Unit =
test(name) {
def javaHomeString(javaHome: String) = {
Expand Down
9 changes: 5 additions & 4 deletions tests/unit/src/test/scala/tests/CodeLensLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,11 @@ class CodeLensLspSuite extends BaseCodeLensLspSuite("codeLenses") {
|""".stripMargin
)

testRunShellCommand(
"run-shell-command-old-java",
Some(JvmManager.create().get("8").toString()),
)
if (!isMacOS)
testRunShellCommand(
"run-shell-command-old-java",
Some(JvmManager.create().get("8").toString()),
)
testRunShellCommand("run-shell-command")
testRunShellCommand("run shell command")

Expand Down

0 comments on commit 97cc557

Please sign in to comment.