Rudolf Adamkovič <salu...@me.com> writes: > Ihor Radchenko <yanta...@posteo.net> writes: > >> The proper test is not presence of the message, but the correct >> conversion of the legacy options in the actual html output. > > We do test the results in the HTML output, of course. Still, I would > like to test the user messages too.
Then, you can `cl-letf'-bind the message function in a new macro added to org-test.el. The binding will accumulate messages in some list. Then, use that macro to test the messages. Also, I think that conversion message may worth a warning. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>