]> git.eshelyaron.com Git - emacs.git/commit
Add commands to run unit tests in 'go-ts-mode'
authorAnkit R Gadiya <git@argp.in>
Mon, 13 May 2024 18:44:03 +0000 (00:14 +0530)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:38:40 +0000 (12:38 +0200)
commitd6ce4e34460b0ddc12937772dd66e48b524e3489
treefa746574cdfa84ae19369efc7ba870b0cb901033
parent73ae9dd2f0f7bb45fbbd7c0c3b497d64247baf03
Add commands to run unit tests in 'go-ts-mode'

* lisp/progmodes/go-ts-mode.el (go-ts-mode-build-tags): New variable.
(go-ts-mode-map): Add new bindings.
(go-ts-mode--get-build-tags-flag, go-ts-mode--compile-test)
(go-ts-mode--find-defun-at, go-ts-mode--get-function-regexp)
(go-ts-mode--get-functions-in-range)
(go-ts-mode--get-test-regexp-at-point)
(go-ts-mode-test-function-at-point, go-ts-mode-test-this-file)
(go-ts-mode-test-this-package): New functions.

* etc/NEWS: Mention the change.

(Bug#70939)

(cherry picked from commit f249c81f868e8fea9d2a05ce258b3ebefba6620f)
etc/NEWS
lisp/progmodes/go-ts-mode.el