summary refs log tree commit diff stats
path: root/nimsuggest/tests/tinclude.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes nim-lang/nimsuggest#119 outline includes (#16608)Saem Ghani2021-01-061-2/+8
| | | | | | nimsuggest outline should account for includes, now it does: - the module prefix will be of the module doing the including - the filename will be of the module that was included - adds a test case for it
* nimsuggest: fix and re-enable old tests (#16401)Saem Ghani2020-12-271-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A number of nimsuggest tests were disabled for various reasons, sometimes due to brittleness. These tests have been fixed where needed and most have are now enabled -- details below. The updates are meant to provide better regression coverage for future nimsuggest improvements. To avoid brittleness some tests were refactored. Impact: * test coverage has now increased * faster execution of the test suite * tests are less likely to break due to stdlib changes Re-enabled Test & Test Description: * `tchk1.nim`: check (chk) via nimsuggest works at end of file * `tdot4.nim`: prioritize already used completion * `tinclude.nim`: definition lookup (def) with includes * `tstrutils.nim` -> `tdef2.nim`: test template definition lookup (def) * `tsug_regression.nim`: regression test for [nimsuggest #52](https://github.com/nim-lang/nimsuggest/issues/52) * `ttemplate_highlight.nim`: per the file name * `twithin_macro_prefix.nim`: suggest within a macro with a prefix Tests Not Re-Enabled: * `twithin_macro.nim` still disabled as it doesn't provide a good test signal * EPC highlight tests remain disabled -- requires out of scope tester changes Additional Notes: * todos added in comments for follow-up work
* add nim c -r nimsuggest/tester to travis (#8805)Timothee Cour2018-08-291-0/+1
|
* cleanup nimsuggest tests a bitAndreas Rumpf2018-08-101-4/+4
|
* fixes #6707; nimsuggest tests still not greenAndreas Rumpf2017-11-081-2/+2
|
* minor update for nimsuggestAndreas Rumpf2017-04-061-2/+2
|
* nimsuggest: make test green againAndreas Rumpf2017-03-141-2/+2
|
* nimsuggest: more precise cursor trackingAraq2017-03-091-0/+7