diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-11-29 15:11:38 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-11-29 15:11:38 +0100 |
commit | 6523b8401519a29ca0aefaf44c3dfa36f681f64e (patch) | |
tree | a691422921ad1287fdeade2128efed4c59c14e8d /test/lisp/emacs-lisp | |
parent | 2e0256e0a02edad129e0af1ea97b9e263c5d83fb (diff) | |
parent | 38ed05f49fcfe7c6d6908041010881a04a7ff6b1 (diff) | |
download | emacs-6523b8401519a29ca0aefaf44c3dfa36f681f64e.tar.gz emacs-6523b8401519a29ca0aefaf44c3dfa36f681f64e.tar.bz2 emacs-6523b8401519a29ca0aefaf44c3dfa36f681f64e.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/ert-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/ert-tests.el b/test/lisp/emacs-lisp/ert-tests.el index 96189356c02..1f54c8d07e4 100644 --- a/test/lisp/emacs-lisp/ert-tests.el +++ b/test/lisp/emacs-lisp/ert-tests.el @@ -801,6 +801,11 @@ This macro is used to test if macroexpansion in `should' works." (should (eql 0 (ert-stats-completed-unexpected stats))) (should (eql 1 (ert-stats-skipped stats))))) +(ert-deftest ert-test-with-demoted-errors () + "Check that ERT correctly handles `with-demoted-errors'." + :expected-result :failed ;; FIXME! Bug#11218 + (should-not (with-demoted-errors (error "Foo")))) + (provide 'ert-tests) |