Fix in clojure tests: skipif needs a boolean, not a string

This commit is contained in:
Michael Panchenko
2025-07-01 14:23:22 +02:00
parent 790ca6eac4
commit 6c670f54bd
+2 -2
View File
@@ -3,12 +3,12 @@ from pathlib import Path
from solidlsp.language_servers.clojure_lsp.clojure_lsp import verify_clojure_cli
def _test_clojure_cli() -> str | bool:
def _test_clojure_cli() -> bool:
try:
verify_clojure_cli()
return False
except (FileNotFoundError, RuntimeError) as e:
return str(e)
return True
CLI_FAIL = _test_clojure_cli()