diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-10-05 15:37:06 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2026-10-05 17:33:44 +0100 |
| commit | 483815ab45cf8fc08804e0cfa95b126493a5dd1f (patch) | |
| tree | 9bf9055171d9f16a8ebb9e7f5adf181949db35cc /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 7a8b7c04778d334f60766a0c83933b74e4e237b3 (diff) | |
| download | rneovim-483815ab45cf8fc08804e0cfa95b126493a5dd1f.tar.gz rneovim-483815ab45cf8fc08804e0cfa95b126493a5dd1f.tar.bz2 rneovim-483815ab45cf8fc08804e0cfa95b126493a5dd1f.zip | |
test: simplify functional test expectations
Problem: Repeated default fields and field-by-field assertions obscure
the values that each functional test is meant to check.
Solution: Add eq_partial() to check selected record fields while
preserving list length and order. Use local helpers to fill fixed
expected defaults where tests need full equality. Keep explicit absence
checks and test-specific values at the call sites.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions