rejeep / ert-runner.el

Opinionated Ert testing workflow
85 stars 19 forks source link

ert--print-backtrace now has two arguments #42

Closed phst closed 7 years ago

phst commented 7 years ago

ert-runner uses the internal function ert--print-backtrace. Previously, that function had the signature (backtrace), now (Emacs 26) the signature is (backtrace do-xrefs). This means that printing backtraces fails with Emacs 26. ert-runner could work around this by either catching wrong-number-of-arguments or checking the signature using help-function-arglist.

phst commented 7 years ago

Ideally, though, ert.el itself would provide a public function to print the backtrace so that ert-runner wouldn't have to rely on internal implementation details of ert.el.