diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 10:26:37 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 10:26:37 -0500 |
| commit | 04a86e97ca018842f95b3389e5f259365099a4ef (patch) | |
| tree | 46954f2c49a461cd6b2cd5d82837b51c1d00f9fd /CONTRIBUTING.md | |
| parent | 60b2666080bff6fa6769be23f157c61147e08568 (diff) | |
| download | org-drill-04a86e97ca018842f95b3389e5f259365099a4ef.tar.gz org-drill-04a86e97ca018842f95b3389e5f259365099a4ef.zip | |
test: pin should-error type to cl-assertion-failed in scheduler error tests
CI on Emacs 29.4 failed eight scheduler :error: tests (5 in
Simple8, 3 in SM5). All eight wrap a function call that violates
a cl-assert precondition and use bare (should-error ...) to catch
the resulting cl-assertion-failed signal.
The same tests pass locally (Emacs 30.2) and in CI on Emacs
snapshot. Hypothesis: in 29.4 cl-assertion-failed isn't registered
with error as a parent class, so the default should-error filter
(which catches type 'error') doesn't match. Adding an explicit
:type 'cl-assertion-failed' tells should-error exactly what
condition to expect, avoiding the inheritance-class question
entirely.
Locally still green; expected to clear the CI failure on the next
push.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions
