aboutsummaryrefslogtreecommitdiff
path: root/test/lua/module
AgeCommit message (Collapse)Author
2019-06-11test/lua/module/pandoc.lua: fix non-determinism in testAlbert Krewinkel
2019-06-11data/pandoc.lua: fix deletion of nonexistent attributesAlbert Krewinkel
Fixes: #5569
2019-06-11Lua pandoc module: better tests for Attr and AttributeListAlbert Krewinkel
2019-05-30Lua modules: test pandoc.mediabagAlbert Krewinkel
2019-05-29Lua Version type: shorten "version too old" messageAlbert Krewinkel
2019-05-29Lua: add Version type to simplify comparisonsAlbert Krewinkel
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts.
2019-05-20Improve output of Lua tests (#5499)Albert Krewinkel
This makes use of tasty-lua, a package to write tests in Lua and integrate the results into Tasty output. Test output becomes more informative: individual tests and test groups become visible in test output. Failures are reported with helpful error messages.