mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(language/go): correctly set go-test-args variable
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
:preface
|
||||
(defun siren-gotest-setup ()
|
||||
(let ((extra-args "-count=1 -race"))
|
||||
(if (and (boundp 'go-test-local) go-test-local)
|
||||
(if (and (boundp 'go-test-args) go-test-args)
|
||||
(setq-local go-test-args (concat go-test-args " " extra-args))
|
||||
(setq-local go-test-args extra-args))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user