diff options
| author | Stefan Kangas | 2022-12-12 08:50:21 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-13 18:44:41 +0100 |
| commit | def51dd6458d2f276018aaac36283bbe44428de7 (patch) | |
| tree | 7df9ef1e3b7efd86f13534c77d74a136e1fa25a5 /test/src | |
| parent | 4980ed7a6d96d5a8803fae6135804cd87faa6d59 (diff) | |
| download | emacs-def51dd6458d2f276018aaac36283bbe44428de7.tar.gz emacs-def51dd6458d2f276018aaac36283bbe44428de7.zip | |
; Fix typos
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/treesit-tests.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el index eaf2df62104..3617264502b 100644 --- a/test/src/treesit-tests.el +++ b/test/src/treesit-tests.el | |||
| @@ -611,7 +611,7 @@ visible_end.)" | |||
| 611 | ;; | 611 | ;; |
| 612 | ;; I've setup a framework for easier testing of defun navigation. | 612 | ;; I've setup a framework for easier testing of defun navigation. |
| 613 | ;; | 613 | ;; |
| 614 | ;; To use it for a particular langauge, first write a test program | 614 | ;; To use it for a particular language, first write a test program |
| 615 | ;; similar to `treesit--ert-defun-navigation-python-program', and | 615 | ;; similar to `treesit--ert-defun-navigation-python-program', and |
| 616 | ;; insert markers. Markers that marks BOLs are defined as follows: | 616 | ;; insert markers. Markers that marks BOLs are defined as follows: |
| 617 | ;; | 617 | ;; |
| @@ -661,7 +661,7 @@ marking's number, and POS is each marking's position." | |||
| 661 | (nreverse result))) | 661 | (nreverse result))) |
| 662 | 662 | ||
| 663 | (defun treesit--ert-collect-positions (positions functions) | 663 | (defun treesit--ert-collect-positions (positions functions) |
| 664 | "Collect posifions after caling each function in FUNCTIONS. | 664 | "Collect positions after calling each function in FUNCTIONS. |
| 665 | 665 | ||
| 666 | POSITIONS should be a list of buffer positions, FUNCTIONS should | 666 | POSITIONS should be a list of buffer positions, FUNCTIONS should |
| 667 | be a list of functions. This function collects the return value | 667 | be a list of functions. This function collects the return value |
| @@ -710,7 +710,7 @@ and \"]\"." | |||
| 710 | ;; Collect positions each function returns. | 710 | ;; Collect positions each function returns. |
| 711 | (positions | 711 | (positions |
| 712 | (treesit--ert-collect-positions | 712 | (treesit--ert-collect-positions |
| 713 | ;; The first columnn of DECODED-MASTER. | 713 | ;; The first column of DECODED-MASTER. |
| 714 | (mapcar #'car decoded-master) | 714 | (mapcar #'car decoded-master) |
| 715 | ;; Four functions: next-end, prev-beg, next-beg, prev-end. | 715 | ;; Four functions: next-end, prev-beg, next-beg, prev-end. |
| 716 | (mapcar (lambda (conf) | 716 | (mapcar (lambda (conf) |