branch: elpa/flymake-pyrefly
commit 6dda2db5e508aea39ced8306705546c6e0ffe033
Author: Boris Shminke <bo...@shminke.com>
Commit: Boris Shminke <bo...@shminke.com>

    add test for no Pyrefly
---
 tests/test-flymake-pyrefly.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/test-flymake-pyrefly.el b/tests/test-flymake-pyrefly.el
new file mode 100644
index 0000000000..29a4932a7a
--- /dev/null
+++ b/tests/test-flymake-pyrefly.el
@@ -0,0 +1,9 @@
+;;; test-flymake-pyrefly.el --- Test flymake-pyrefly package.
+
+;;; Code:
+(require 'flymake-pyrefly)
+(ert-deftest flymake-pyrefly-test-no-pyrefly ()
+  "Test error message when Pyrefly is not found."
+  (should-error (flymake-pyrefly 'message)))
+(provide 'test-flymake-pyrefly)
+;;; test-flymake-pyrefly.el ends here

Reply via email to