Commit graph

17 commits

Author SHA1 Message Date
Ben Jackson
30eec0d93c Fix variable substitution for multiple defaulted vars
The problem was that the python regex engine is strictly left-to-right,
so matching `[^}]|\\}` against \\}} meant that the `\\` was consumed by
the left of the `|`. The solution is to just switch them around.

Also add a way to run python tests from within vim, so we can actually
test this stuff.
2021-02-06 20:55:24 +00:00
Ben Jackson
f87aa4aa19 Undo flakiness hack 2020-11-22 13:30:14 +00:00
Ben Jackson
3330c704d7 Too many flakes 2020-11-22 12:46:15 +00:00
Ben Jackson
ce4f341feb Correct some typos 2020-09-19 11:25:53 +01:00
Ben Jackson
4ed9158282 Accomodate flaky tests that I can't diagnose 2020-09-19 11:18:40 +01:00
Ben Jackson
5f11fe4e6e Fix up vint errors 2020-05-19 20:27:28 +01:00
Ben Jackson
77522cbd44 Add way to run tests using my in-development vim debugger 2020-04-26 13:08:27 +01:00
Ben Jackson
77dc400077 test and doc updates for conditional breakpoints
use a better description of hit condition and describe the options dict.
2020-04-26 13:04:51 +01:00
Ben Jackson
8052484cc7 Use YCM python style 2020-02-08 21:15:27 +00:00
Ben Jackson
f6eccf1314 More: Import latest YCM test framework changes 2020-01-15 23:17:15 +00:00
Ben Jackson
6ee8f7875d Tests: Import test framework changs from YCM 2020-01-15 23:17:15 +00:00
Ben Jackson
17b85d2d72 Reset the actual vimspector, not a fresh one 2019-07-27 10:57:50 +01:00
Ben Jackson
7813f06dd1 May make the tests less flaky 2019-07-27 10:57:50 +01:00
Ben Jackson
1e54e457d4 Finally fix breakpoint bugs 2019-07-27 10:57:50 +01:00
Ben Jackson
0464b456a8 Save the log file for failed tests 2019-07-27 10:57:50 +01:00
Ben Jackson
55c75fd08e Refactor test framework into a vim plugin. 2019-07-27 10:57:50 +01:00
Ben Jackson
d458d06bc5 Use the same version as the current macvim 2019-06-08 10:49:26 +01:00
Renamed from tests/run_test.vim (Browse further)