style(internal/*): fix lint issues

This commit is contained in:
Nightapes
2019-07-21 15:15:01 +02:00
parent 409b260eb7
commit 58f2ebb6d0
2 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package ci_test
import (
"fmt"
"testing"
"time"
@@ -27,10 +26,8 @@ func TestCi(t *testing.T) {
w, err := repository.Worktree()
assert.NoError(t, err, "should get worktree")
w.Add(file.Name())
status, err := w.Status()
fmt.Println(status)
_, err = w.Add(file.Name())
assert.NoError(t, err, "should add file")
gitUtilInMemory := &gitutil.GitUtil{
Repository: repository,
@@ -43,6 +40,7 @@ func TestCi(t *testing.T) {
When: time.Now(),
},
})
assert.NoError(t, err, "should commit")
testConfigs := []struct {
service string