Use compile instead of async

This commit is contained in:
James Ravn 2019-08-27 11:02:57 +01:00
parent 042e55ca31
commit 647fe4ce68

View file

@ -7,9 +7,8 @@
"The last test run.") "The last test run.")
(defun +go--spawn (cmd) (defun +go--spawn (cmd)
(require 'async)
(save-selected-window (save-selected-window
(async-shell-command cmd))) (compile cmd)))
(defun +go--run-tests (args) (defun +go--run-tests (args)
(let ((cmd (concat "go test " args))) (let ((cmd (concat "go test " args)))