Function: go-ts-mode-test-function-at-point

go-ts-mode-test-function-at-point is an interactive and byte-compiled function defined in go-ts-mode.el.gz.

Signature

(go-ts-mode-test-function-at-point)

Documentation

Run the unit test at point.

If the point is anywhere in the test function, that function will be run. If the region is selected, all the functions under the region will be run.

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/go-ts-mode.el.gz
(defun go-ts-mode-test-function-at-point ()
  "Run the unit test at point.
If the point is anywhere in the test function, that function will be
run.  If the region is selected, all the functions under the region will
be run."
  (interactive)
  (go-ts-mode--compile-test (go-ts-mode--get-test-regexp-at-point)))