diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 10:51:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 10:51:01 -0500 |
| commit | 64dd3f2a7a35317cbd9e8829c7b7fe259c797815 (patch) | |
| tree | 2d828fee5ee1f38cb61575ea96d2f621b9046e49 /.github | |
| parent | 54c7f01dc752ca4bbcc46762cc2ba617cff7411c (diff) | |
| download | org-drill-64dd3f2a7a35317cbd9e8829c7b7fe259c797815.tar.gz org-drill-64dd3f2a7a35317cbd9e8829c7b7fe259c797815.zip | |
test: catch cl-assertion-failed by name without ERT should-wrapping
The previous fix wrapped condition-case in (should (eq 'caught ...)),
but ERT in Emacs 29.4 installs signal-hook-function around should
forms — that hook fires on every signal, intercepting them before
the inner condition-case can catch. CI on 29.4 still failed.
This iteration drops should entirely. Each test body becomes a
plain condition-case at the top level: run the form, and if it
returns normally, ert-fail. Catch cl-assertion-failed by name
rather than via the error parent — its parent-class registration
is inconsistent across Emacs versions, but the symbol-name match
through condition-case always works.
Locally green; let's see what 29.4 does with it.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
