mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 20:15:56 +00:00
Fix in clojure tests: skipif needs a boolean, not a string
This commit is contained in:
1 parent
790ca6eac4
commit
6c670f54bd
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user