Signed-off-by: Ulysses Souza <[email protected]>
@@ -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)
@@ -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