|
From: | Stefan Monnier |
Subject: | bug#11218: with-demoted-errors use of condition-case-unless-debug; ert |
Date: | Wed, 11 Apr 2012 09:02:02 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> (defun foo () > (with-demoted-errors (error "error!")) > t) > > (ert-deftest test-foo () > "Test foo" > (should (foo))) > > M-x ert RET test-foo RET > > Selector: test-foo > Passed: 0 > Failed: 1 (1 unexpected) > Total: 1/1 > > If you replace with-demoted-errors with ignore-errors, the test passes. Looks like a bug in ERT. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |