fix(language/go): correctly set go-test-args variable

This commit is contained in:
2023-06-01 01:37:04 +01:00
parent 01c5018702
commit c4521500d1

View File

@@ -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))))