diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-25 15:01:28 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-08-25 16:34:21 +0200 |
| commit | 8ca36b9783d84e29bf6cb085c38e717d832b5594 (patch) | |
| tree | 30a9db72a9b3c3708734b54aa400b4af4e01c12a /runtime/syntax/python.vim | |
| parent | a1de07418b89f1b30f9ca088306b2c1615f928c3 (diff) | |
| download | rneovim-8ca36b9783d84e29bf6cb085c38e717d832b5594.tar.gz rneovim-8ca36b9783d84e29bf6cb085c38e717d832b5594.tar.bz2 rneovim-8ca36b9783d84e29bf6cb085c38e717d832b5594.zip | |
test(harness): support `{retries=…}`
Problem:
Cannot retry a test with its full `after_each`/`before_each` lifecycle.
Solution:
- Overload `it()` to accept an `opts` param:
```
it('flaky', { retries = 2 }, function(ctx) end) -- 3 attempts.
```
- Pass `ctx` to test functions.
- Fix a bug in `t.read_file_list()`.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions