From ac8975ea1e3a56bbfbe1b1596c8a74146afc4609 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Wed, 30 Sep 2020 11:25:30 +0200 Subject: [PATCH] Fix import Signed-off-by: Ulysses Souza --- formatter/formatter_test.go | 4 ++-- go.mod | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/formatter/formatter_test.go b/formatter/formatter_test.go index bfc4a7136..21668ae18 100644 --- a/formatter/formatter_test.go +++ b/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) diff --git a/go.mod b/go.mod index d56c8cffa..aef8bdfa4 100644 --- a/go.mod +++ b/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