]> git.eshelyaron.com Git - emacs.git/commit
Refine shebang tests (bug#64939)
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Sat, 10 Feb 2024 15:14:08 +0000 (16:14 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 17 Feb 2024 13:02:52 +0000 (14:02 +0100)
commit999d5fe3dfa5602afc360622874bf76bd7de9ae2
tree0abbb63320b68ad116f0b90b2aa8c541b00cdf33
parentc14249bdc1b989b51a095235efe6958d3f9822d4
Refine shebang tests (bug#64939)

* test/lisp/files-tests.el (files-tests--check-shebang): For
shell-script modes, verify that the correct shell is set.
(files-tests-auto-mode-interpreter): Prefer 'sh-base-mode' to
'sh-mode' to stay tree-sitter-agnostic; re-organize test cases to
make future ones easier to add.

(cherry picked from commit de6f7f3c86ea0e52e8f9825585c726a7f93fa9cf)
test/lisp/files-tests.el