Wox/wox.core/util/open_darwin_test.go

16 lines
265 B
Go

package util
import (
"testing"
)
func TestShellRunOutput(t *testing.T) {
output, err := ShellRunOutput("zsh", "-c", "nvm current")
if err != nil {
t.Logf("ShellRunOutput() failed, err: %v", err)
return
}
t.Logf("ShellRunOutput() output: %s", output)
}