diff options
author | Yuan Fu <casouri@gmail.com> | 2023-04-13 00:52:17 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-04-13 15:08:51 -0700 |
commit | dff254946a72db1d592e6e2f71f85786e5e5bdec (patch) | |
tree | 31301c906a69ddb06a900beccc3dbc996624e698 /src | |
parent | 80f6c1027fd054d9126599322bcfd1f30f3f1076 (diff) | |
download | emacs-dff254946a72db1d592e6e2f71f85786e5e5bdec.tar.gz |
Fix tree-sitter tests
After 2ce27563ecc, treesit--navigate-things takes a TACTIC argument
instead of using treesit-defun-tactic, so the tests need to change
from binding treesit-defun-tactic to passing the tactic argument,
which is what this change does.
* test/src/treesit-tests.el:
(treesit--ert-insert-and-parse-marker): New argument TACTIC.
(treesit-defun-navigation-nested-1)
(treesit-defun-navigation-nested-2)
(treesit-defun-navigation-nested-3)
(treesit-defun-navigation-top-level): Pass TACTIC argument.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions