aboutsummaryrefslogtreecommitdiff
path: root/test/unit/eval
Commit message (Collapse)AuthorAge
* build: Target luacheck HEAD.Justin M. Keyes2016-11-17
| | | | | | | | | | | | https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606 > If you really want to use bleeding-edge version you should get the > rockspec from master branch, not a fixed commit ... > The correct way to install from a specific commit is cloning that > commit and running "luarocks make" from project directory. The reason > is that running "install" or "build" on an scm rockspec fetches > sources from master but uses build description from the rockspec > itself, which may be outdated.
* unittests/*/helpers: Fix testlint errorsZyX2016-06-24
|
* fixup! unittests: Add tests for vim_to_object functionZyX2016-06-24
|
* unittests: Add tests for vim_to_object functionZyX2016-06-24
|
* Satisfy testlint.KillTheMule2016-04-28
| | | | For that, make luatest ignore the preload.lua files.
* eval/encode: Make sure that encoder can encode NULL variablesZyX2016-04-18
| | | | | | | | | Adds two undocumented v: variables: _null_list and _null_dict because I do not know a reproducible way to get such lists (though I think I heard about this) and dictionaries (do not remember hearing about them). NULL strings are obtained using $XXX_UNEXISTENT_VAR_XXX. Fixes crash in json_encode($XXX_UNEXISTENT_VAR_XXX). Other added tests worked fine before this commit.
* functests: Replace \xXX escapes with \DDD in lua codeZyX2016-04-18
|
* eval/decode: Do not overflow when parsing `-`ZyX2016-04-18
| | | Also makes if’s less nested.
* eval/decode: Make sure that error messages do not cause overflowZyX2016-04-18
|
* eval/decode: Make sure that parsing strings does not overflowZyX2016-04-18
|
* eval/decode: Avoid overflow when parsing incomplete null/true/falseZyX2016-04-18
| | | | Note: second test does not crash or produce asan errors, even though it should.
* eval/encode: Fix writing strings starting with NL to listZyX2016-04-18
Error [found][1] by oni-link. [1]: https://github.com/neovim/neovim/pull/4131/files#r52239384