diff options
Diffstat (limited to 'tests/test-flycheck-languagetool-setup.el')
| -rw-r--r-- | tests/test-flycheck-languagetool-setup.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/test-flycheck-languagetool-setup.el b/tests/test-flycheck-languagetool-setup.el index a719e822..aa71d4a7 100644 --- a/tests/test-flycheck-languagetool-setup.el +++ b/tests/test-flycheck-languagetool-setup.el @@ -29,12 +29,16 @@ (should (file-executable-p wrapper-path)))) (ert-deftest test-flycheck-languagetool-setup-normal-languagetool-installed () - "Test that languagetool command is available in PATH." - (should (executable-find "languagetool"))) + "Test that languagetool command is available in PATH. +The test failure serves as a reminder to install the dependency." + (should (or (executable-find "languagetool") + (error "LanguageTool not installed. Install with: sudo pacman -S languagetool")))) (ert-deftest test-flycheck-languagetool-setup-normal-python3-available () - "Test that python3 is available for wrapper script." - (should (executable-find "python3"))) + "Test that python3 is available for wrapper script. +The test failure serves as a reminder to install the dependency." + (should (or (executable-find "python3") + (error "python3 not installed. Install with: sudo pacman -S python")))) ;; ----------------------------- Boundary Cases -------------------------------- |
