emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic modules: should should-error work?


From: Eli Zaretskii
Subject: Dynamic modules: should should-error work?
Date: Sun, 22 Nov 2015 20:28:49 +0200

It looks like should-error doesn't work with functions implemented in
modules.  For example, try this in modules/mod-test/test.el:

  (ert-deftest mod-test-sum-test ()
    (should-error (mod-test-sum 1 2 3)))

I cannot get this test to succeed, although the error message about
wrong number of arguments is emitted.  What am I missing?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]