Răsfoiți Sursa

Fix import

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 5 ani în urmă
părinte
comite
ac8975ea1e
2 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 2
      formatter/formatter_test.go
  2. 0 1
      go.mod

+ 2 - 2
formatter/formatter_test.go

@@ -17,11 +17,11 @@
 package formatter
 
 import (
+	"bytes"
 	"fmt"
 	"io"
 	"testing"
 
-	"go.uber.org/zap/buffer"
 	"gotest.tools/assert"
 )
 
@@ -39,7 +39,7 @@ func TestPrint(t *testing.T) {
 		},
 	}
 
-	b := &buffer.Buffer{}
+	b := &bytes.Buffer{}
 	assert.NilError(t, Print(testList, PRETTY, b, func(w io.Writer) {
 		for _, t := range testList {
 			_, _ = fmt.Fprintf(w, "%s\t%s\n", t.Name, t.Status)

+ 0 - 1
go.mod

@@ -54,7 +54,6 @@ require (
 	github.com/spf13/cobra v1.0.0
 	github.com/spf13/pflag v1.0.5
 	github.com/stretchr/testify v1.6.1
-	go.uber.org/zap v1.10.0
 	golang.org/x/mod v0.3.0
 	golang.org/x/net v0.0.0-20200822124328-c89045814202
 	golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43