Function: go-ts-mode--compile-test

go-ts-mode--compile-test is a byte-compiled function defined in go-ts-mode.el.gz.

Signature

(go-ts-mode--compile-test REGEXP)

Documentation

Compile the tests matching REGEXP.

This function respects the go-ts-mode-build-tags variable for specifying build tags.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/go-ts-mode.el.gz
(defun go-ts-mode--compile-test (regexp)
  "Compile the tests matching REGEXP.
This function respects the `go-ts-mode-build-tags' variable for
specifying build tags."
  (compile (format "go test -v %s -run '%s' %s"
                   (go-ts-mode--get-build-tags-flag)
                   regexp
                   (go-ts-mode--get-test-flags))))