diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/benchmark/decor_spec.lua | 1 | ||||
-rw-r--r-- | test/functional/treesitter/query_spec.lua | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/benchmark/decor_spec.lua b/test/benchmark/decor_spec.lua index 42b2d1e744..1b7e763a09 100644 --- a/test/benchmark/decor_spec.lua +++ b/test/benchmark/decor_spec.lua @@ -99,7 +99,6 @@ describe('decor perf', function() print('\nTotal ' .. fmt(total) .. '\nDecoration provider: ' .. fmt(provider)) end) - it('can handle full screen of highlighting', function() Screen.new(100, 51) diff --git a/test/functional/treesitter/query_spec.lua b/test/functional/treesitter/query_spec.lua index 634f8af83d..6e21ed1d99 100644 --- a/test/functional/treesitter/query_spec.lua +++ b/test/functional/treesitter/query_spec.lua @@ -835,9 +835,9 @@ void ui_refresh(void) local result = exec_lua(function() local query0 = vim.treesitter.query.parse('c', query) - local match_preds = query0.match_preds + local match_preds = query0._match_predicates local called = 0 - function query0:match_preds(...) + function query0:_match_predicates(...) called = called + 1 return match_preds(self, ...) end |