aboutsummaryrefslogtreecommitdiff
path: root/test/unit
Commit message (Collapse)AuthorAge
...
* | shell/logging: Fix E730 with verbose system({List}) #9009Justin M. Keyes2018-09-21
|/ | | | | | | | ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790 Steps to reproduce: :set verbose=9 :call system(['echo']) E730: using List as a String
* test: Rename includes/pre/uv-errno.h to includes/pre/uv.hJames McCoy2018-07-11
| | | | | | | | | | | | | | | | | | libuv users are only supposed to directly include uv.h. In v1.21.0, all the uv-*.h headers were renamed to uv/*.h, which caused the unit tests to fail with [123/125] Generating post/uv-errno.h FAILED: test/includes/post/uv-errno.h cd «SRCDIR»/src/neovim/build/test/includes && /usr/bin/clang -std=c99 -E -P «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h -I/usr/include -I/usr/include -o «SRCDIR»/neovim/build/test/includes/post/uv-errno.h «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h:1:10: error: 'uv-errno.h' file not found with <angled> include; use "quotes" instead #include <uv-errno.h> ^~~~~~~~~~~~ "uv-errno.h" The intention of the file is to extend libuv's error constants with more values used by the unit tests. This can just as easily be achieved without poking into pseudo-private header files.
* test: build_stl_str_hl (#8703)ZviRackover2018-07-10
| | | | Improve coverage of `build_stl_str_hl`. Minor removal of dead code in the tested function.
* test: port kword_test to Lua for utf_char2bytes()Jan Edmund Lazo2018-07-01
| | | | | | Use LuaJIT FFI to create char pointer. Validate output with utf_ptr2char(), vim_iswordc() and vim_iswordp(). Use const for LuaJIT string-to-char conversion.
* lintJustin M. Keyes2018-04-28
|
* test/unit/undo_spec.lua: fixup after rebase #4985Justin M. Keyes2018-04-27
|
* test/unit: some unit tests for undo.c #4985Christopher Waldon2018-04-27
|
* Merge branch 'master' into s-dash-stdinb-r-o-c-k2018-04-14
|\
| * refactor/rename: path_try_shorten_fname()Justin M. Keyes2018-03-24
| |
| * refactor/rename: path_is_absolute()Justin M. Keyes2018-03-24
| |
| * unittest: Ignore all _Float-prefixed types (#8067)James McCoy2018-02-25
| | | | | | | | Previously, we ignored only _Float128. But glibc 2.27 added _Float32 and _Float32x. Rather than play whack-a-mole, ignore everything.
| * tests: Make format_string('%q', ...) output more stableZyX2018-02-02
| | | | | | It appears to be different on lua and luajit.
| * os/input.c: parse keycodes in non-string context #7411lePerdu2018-01-18
| | | | | | | | | | | | | | | | | | | | | | cb02137dfac7 had two mistakes, of the same nature: trans_special() must be invoked with in_string=false unless the parsing context is a VimL string. replace_termcodes() and input_enqueue() are low-level mechanisms where VimL strings do not exist. keymap.c: adjust double-quote case to satisfy keymap_spec.lua closes #7410
| * *: Provide list length when allocating listsZyX2018-01-14
| |
| * *: Fix linter errorsZyX2017-12-24
| |
| * eval: Replace some tv_list_item_remove() callsZyX2017-12-24
| | | | | | | | | | There is nothing wrong with them, just it is generally better to remove a range then to remove items individually.
| * unittests: Do gc after reporting error, not beforeZyX2017-12-24
| | | | | | | | | | Reason: test may contain cleanup at the endwhich is needed for GC to work properly, but is not done if test fails. With collectgarbage() in former position it would crash when collecting garbage.
| * unittests: Remove start of trace, not endZyX2017-12-24
| |
| * eval: Rename tv_list_remove_items() to tv_list_drop_items()ZyX2017-12-24
| | | | | | tv_list_remove_items() may cause confusion with tv_list_item_remove()
| * eval/typval: Make tv_list_item_remove return pointer to the next itemZyX2017-12-24
| |
| * eval/typval: Remove tv_list_item_free() as it is unusedZyX2017-12-24
| |
| * eval/typval: Make tv_list_item_alloc staticZyX2017-12-24
| | | | | | | | Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc().
| * *: Remove most calls to tv_list_item_allocZyX2017-12-24
| | | | | | | | Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the only reason why function did not receive `static` modifier.
| * tests: Fix linter errorsZyX2017-12-03
| |
| * *: Replace all occurrences of NVim with NvimZyX2017-11-30
| |
| * unittests: Reduce memory used by vim_str2nr testZyX2017-11-30
| |
| * Merge branch 'master' into expression-parserZyX2017-11-30
| |\
| * | viml/parser/expressions: Make sure that listed nodes may be presentZyX2017-11-26
| | | | | | | | | | | | With the new test leaving `assert(false);` for any of the cases makes tests crash.
| * | functests: Add some more testsZyX2017-11-26
| | |
| * | unittests: Run vim_str2nr tests with GC enabledZyX2017-11-19
| | |
| * | unittests: Populate ARGTYPES in child process onlyZyX2017-11-19
| | |
| * | Merge branch 'master' into expression-parserZyX2017-11-19
| |\ \
| * | | unittests: Avoid infinite cycle somewhere because of init failureZyX2017-11-19
| | | |
| * | | tests: Stabilize float format and %e in format_luav and format_stringZyX2017-11-19
| | | |
| * | | *: Fix linter errorsZyX2017-11-19
| | | |
| * | | tests: Use single test file for unit and functional parser testsZyX2017-11-19
| | | |
| * | | viml/parser/expressions,unittests: Do better testing, fix found issuesZyX2017-11-19
| | | |
| * | | unittests,viml/parser/expressions: Start adding asgn parsing testsZyX2017-11-13
| | | |
| * | | unittests: Fix automatic test case generationZyX2017-11-13
| | | |
| * | | unittests,syntax: Check for sanity of highlight_init_cmdlineZyX2017-11-13
| | | | | | | | | | | | | | | | Also fixes some errors found.
| * | | unittests: Add some more edge test casesZyX2017-11-12
| | | |
| * | | viml/parser/expressions: Add support for parsing assignmentsZyX2017-11-12
| | | |
| * | | unittests: Add a way to show some custom messages only when crashedZyX2017-11-11
| | | |
| * | | *: Fix linter errorsZyX2017-11-06
| | | |
| * | | unittests: Add tests for vim_str2nrZyX2017-11-06
| | | |
| * | | tests: Add missing test casesZyX2017-11-06
| | | |
| * | | api/vim,functests: Add tests for nvim_parse_expression, fix found bugsZyX2017-11-06
| | | |
| * | | charset: Refactor vim_str2nrZyX2017-11-06
| | | |
| * | | tests: Fix testlint errorsZyX2017-11-06
| | | |
| * | | syntax,viml/parser/expressions: Add missing highlight groupsZyX2017-10-29
| | | | | | | | | | | | Also adjusts some names.