diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-12-12 21:28:38 +0000 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-12-12 21:32:06 +0000 |
| commit | e6efb25015180049d624c2e86f956cfe76ffe125 (patch) | |
| tree | c4e60e36eeff70d21798a4bc36addb24943ef1ef /test | |
| parent | 7f4fe1578f4c7859252332704785797b0239dbb4 (diff) | |
Add unit test for helpful on macros
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit-test.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit-test.el b/test/unit-test.el index 7e1e3bd..4a36b40 100644 --- a/test/unit-test.el +++ b/test/unit-test.el @@ -77,6 +77,10 @@ ;; Defined in elisp. (should (not (helpful--primitive-p 'when t)))) +(ert-deftest helpful-callable () + ;; We should not crash when looking at macros. + (helpful-callable 'when)) + (ert-deftest helpful--no-symbol-properties () "Helpful should handle functions without any symbol properties." ;; Interactively evaluating this file will set edebug properties on |
