diff options
| author | Eli Zaretskii | 2024-06-10 21:22:47 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-10 21:22:47 +0300 |
| commit | ffd2c492a0e0f70a66f113fe4ea9c50081818a44 (patch) | |
| tree | 1021c36d1ef835a0996c16ebef513f8c38c5a7ed /test/src | |
| parent | aca5de19b86c973bf303de936bdd06dbb86c023e (diff) | |
| download | emacs-ffd2c492a0e0f70a66f113fe4ea9c50081818a44.tar.gz emacs-ffd2c492a0e0f70a66f113fe4ea9c50081818a44.zip | |
Fix treesit-tests
* test/src/treesit-tests.el (treesit-node-api): Adapt the test to
changes in 'treesit_check_node'. (Bug#71012)
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/treesit-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el index 5d0c92ae8a6..ce5dc76794a 100644 --- a/test/src/treesit-tests.el +++ b/test/src/treesit-tests.el | |||
| @@ -183,7 +183,8 @@ | |||
| 183 | parser)) | 183 | parser)) |
| 184 | (should (equal t (treesit-node-check root-node 'live))) | 184 | (should (equal t (treesit-node-check root-node 'live))) |
| 185 | (kill-buffer) | 185 | (kill-buffer) |
| 186 | (should (equal nil (treesit-node-check root-node 'live)))))) | 186 | (should-error (treesit-node-check root-node 'live) |
| 187 | :type 'treesit-node-buffer-killed)))) | ||
| 187 | 188 | ||
| 188 | ;;; Indirect buffer | 189 | ;;; Indirect buffer |
| 189 | 190 | ||