diff options
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index e11440cdb5b..878f60f1614 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -7545,6 +7545,9 @@ always located at the beginning of buffer." | |||
| 7545 | (ert-deftest python-ts-mode-types-face-1 () | 7545 | (ert-deftest python-ts-mode-types-face-1 () |
| 7546 | (python-ts-tests-with-temp-buffer | 7546 | (python-ts-tests-with-temp-buffer |
| 7547 | "def f(val: Callable[[Type0], (Type1, Type2)]):" | 7547 | "def f(val: Callable[[Type0], (Type1, Type2)]):" |
| 7548 | (search-forward "val") | ||
| 7549 | (goto-char (match-beginning 0)) | ||
| 7550 | (should (eq (face-at-point) font-lock-variable-name-face)) | ||
| 7548 | (dolist (test '("Callable" "Type0" "Type1" "Type2")) | 7551 | (dolist (test '("Callable" "Type0" "Type1" "Type2")) |
| 7549 | (search-forward test) | 7552 | (search-forward test) |
| 7550 | (goto-char (match-beginning 0)) | 7553 | (goto-char (match-beginning 0)) |