Removin imports

This commit is contained in:
pprokop
2016-10-14 16:31:20 +02:00
parent 0f7ef10ab4
commit af0672d339
21 changed files with 489 additions and 68 deletions

View File

@@ -4,7 +4,7 @@ import "testing"
func TestExecuteCommandSuccess(t *testing.T) {
successCommand := []string{"echo", "test"}
err := ExecuteCommand(successCommand)
err := Execute(successCommand)
if err != nil {
t.Errorf("Expecting: command to success not %v", err)
}
@@ -12,7 +12,7 @@ func TestExecuteCommandSuccess(t *testing.T) {
func TestExecuteCommandFail(t *testing.T) {
errorCommand := []string{"false"}
err := ExecuteCommand(errorCommand)
err := Execute(errorCommand)
if err == nil {
t.Errorf("Expecting command to fail")
}