Skip to content

Release v0.11.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Feb 17:14
· 6 commits to master since this release
v0.11.1
227b4d4
v0.11.1 Improved tests by capturing stderr

In previous versions, the warnings emitted by acronymsdown were directly
printed to the terminal.
This messed up the reporter of 'testthat' (which expects to control what
is printed or not; warnings were printed between tests lines...).

Also, we could not run tests on these warnings.
For example, when a key is missing, it is perfectly normal for
acronymsdown to print a warning (it is even expected).

This version brings a new capture-error behaviour to solve these
problems. The capture-error is only enabled if a specific shared library
is compiled (the newly introduced dup2_helper).

End users do not need to compile this library: it is only useful for
testing purposes. Acronymsdown runs will full features without it.