aboutsummaryrefslogtreecommitdiff
path: root/test/unit
Commit message (Collapse)AuthorAge
...
| * | | 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.
| * | | syntax,viml/expressions/parser: Create defaults for expr highlightingZyX2017-10-29
| | | |
| * | | unittests: Avoid alloc log checking errors when printing testsZyX2017-10-29
| | | |
| * | | viml/parser/expressions: Fix last error found by KLEEZyX2017-10-29
| | | |
| * | | viml/parser/expressions: Fix some errors spotted by KLEEZyX2017-10-19
| | | | | | | | | | | | Not all of them are fixed yet though.
| * | | unittests: Free everything and check for memory leaksZyX2017-10-16
| | | | | | | | | | | | Also improves error reporting.
| * | | test/unit/formatc: Fix parsing of most recent viml_parser_highlightZyX2017-10-16
| | | |
| * | | viml/parser/expressions: Highlight prefix separately from numberZyX2017-10-16
| | | | | | | | | | | | Should make accidental octals more visible.
| * | | charset: Avoid overflow in vim_str2nrZyX2017-10-16
| | | |
| * | | Merge branch 'master' into expression-parserZyX2017-10-15
| |\ \ \
| * | | | viml/parser/expressions,klee: Fix some problems found by KLEE runZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions,tests: Add AST freeing, with sanity checksZyX2017-10-15
| | | | |
| * | | | unittests: Test some edge casesZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Create tests for latest additionsZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Finish parserZyX2017-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType (specifically `kExprNodeOr = '|'` and probably something else), so all `= …` were dropped: in any case they only were there in order to not bother updating viml_pexpr_debug_print_ast_node and since it is now known all nodes which will be present it is not much of an issue.
| * | | | viml/parser/expressions: Add support for string parsingZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Add support for subscript and list literalsZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Error out on multiple colons in a rowZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Add support for the dot operator and numbersZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Make lexer parse numbers, support non-decimalZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Forbid dot or alpha characters after a floatZyX2017-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | This is basically what Vim already does, in addition to forbidding floats should there be a concat immediately before it.
| * | | | viml/parser/expressions: Add support for comparison operatorsZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Make sure that arrows outside lambda throwZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Add support for ternary operatorZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Fix determining invalid commas/colonsZyX2017-10-15
| | | | |
| * | | | viml/parser/expressions: Fix call inside nested parenthesisZyX2017-10-15
| | | | | | | | | | | | | | | | | | | | It may have incorrectly tried to call everything because of essentially “value” nodes being treated as not such.
| * | | | unittests: Add support for dumping “expected” stateZyX2017-10-08
| | | | | | | | | | | | | | | Purpose is similar to that of `screen:snapshot_util()`, but in different domain.
| * | | | viml/parser/expressions: Add a way to adjust lexerZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It also adds support for kExprLexOr which for some reason was forgotten. It was only made sure that KLEE test compiles in non-KLEE mode, not that something works or that KLEE is able to run tests.
| * | | | viml/parser/expressions: Make curly braces name actually workZyX2017-10-08
| | | | |
| * | | | viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
| | | | |
| * | | | viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
| | | | |
| * | | | viml/parser/expressions: Add support for figure braces (three kinds)ZyX2017-10-08
| | | | |
| * | | | viml/parser/expressions: Start creating expressions parserZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently supported nodes: - Register as it is one of the simplest value nodes (even numbers are not that simple with that dot handling). - Plus, both unary and binary. - Parenthesis, both nesting and calling. Note regarding unit tests: it stores data for AST in highlighting in strings in place of tables because luassert fails to do a good job at representing big tables. Squashing a bunch of data into a single string simply yields more readable result.
| * | | | unittests: Move some functions into helpers modulesZyX2017-10-08
| | | | |
| * | | | viml/parser: Handle encoding conversionsZyX2017-10-08
| | | | |
| * | | | viml/expressions: Add lexer with some basic testsZyX2017-10-08
| | | | |
| * | | | unittests: Add a way to print trace on regular errorZyX2017-09-29
| | | | |
* | | | | Merge branch 'master' into s-dash-stdinZyX2017-12-03
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | unittest: Ignore _Float128 types in ffiJames McCoy2017-11-29
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with certain GCC versions, a _Float128 type is present when setting up the ffi for unit tests. ./test/unit/helpers.lua:256: declaration specifier expected near '_Float128' at line 396 /usr/bin/luajit: /usr/share/lua/5.1/busted/runner.lua:99: attempt to concatenate local 'message' (a table value) stack traceback: /usr/share/lua/5.1/busted/runner.lua:99: in function 'fn' /usr/share/lua/5.1/mediator.lua:103: in function 'publish' /usr/share/lua/5.1/busted/modules/helper_loader.lua:21: in function 'helperLoader' /usr/share/lua/5.1/busted/runner.lua:147: in function </usr/share/lua/5.1/busted/runner.lua:11> /usr/bin/busted:3: in main chunk [C]: at 0x004044a0 CMake Error at /<<PKGBUILDDIR>>/cmake/RunTests.cmake:53 (message): Running unit tests failed with error: 1. Since this is being pulled in by a dependency, not directly used by nvim, just ignore the type. Closes #7423
| * | | test/unit/path_spec: expect correct buffer size (#7514)Marco Hinz2017-11-13
| | |/ | |/| | | | | | | Fixed-size buffers and lfs.currentdir().. does not compute. The tests would fail if the current working directory was longer than expected.