github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/executil/std_run_test.go (about)

     1  package executil
     2  
     3  import (
     4  	"os/exec"
     5  	"testing"
     6  )
     7  
     8  func TestRunWithLog(t *testing.T) {
     9  	StdRun(exec.Command("go", "version"))
    10  	//StdRun(exec.Command("go", "test"))
    11  }