diff --git a/go.sum b/go.sum index 1b49466b..1ff3b6f3 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,6 @@ github.com/census-instrumentation/opencensus-proto v0.1.0-0.20181214143942-ba49f github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/derailed/tview v0.1.1 h1:s9rGoufUkZYsIFCfV3M23yHxTKa7Rt6n+QFaOgnirpk= -github.com/derailed/tview v0.1.1/go.mod h1:WRYVfgb2PBMLZ/muaSpOc/4H4fYsOPnHOaGnBoJ+hGE= github.com/derailed/tview v0.1.2 h1:T/XDdjvWrSdhi68bKE0O87O7oHD/JxmfU4IQ13y4fmc= github.com/derailed/tview v0.1.2/go.mod h1:WRYVfgb2PBMLZ/muaSpOc/4H4fYsOPnHOaGnBoJ+hGE= github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= diff --git a/internal/resource/pod_test.go b/internal/resource/pod_test.go index 28c837a8..28f850e8 100644 --- a/internal/resource/pod_test.go +++ b/internal/resource/pod_test.go @@ -29,7 +29,7 @@ func TestPodHeader(t *testing.T) { func TestPodFields(t *testing.T) { r := newPod().Fields("blee") - assert.Equal(t, "fred", r[0]) + assert.Equal(t, resource.Pad("fred", 42), r[0]) } func TestPodMarshal(t *testing.T) { diff --git a/internal/views/utils_test.go b/internal/views/utils_test.go index fe85a984..6618e68a 100644 --- a/internal/views/utils_test.go +++ b/internal/views/utils_test.go @@ -44,7 +44,7 @@ func TestLogBufferCleanse(t *testing.T) { func TestLogBufferDecorate(t *testing.T) { l := "hello k9s" var b *logBuffer - assert.Equal(t, "["+newLogColor+"::]"+l+"[::]", b.decorateLine(l)) + assert.Equal(t, l, b.decorateLine(l)) } func TestLogBufferTrimLine(t *testing.T) {