Skip to content

Commit

Permalink
fix sc test
Browse files Browse the repository at this point in the history
  • Loading branch information
wjiec committed Jun 15, 2023
1 parent 2a1256f commit b3cfd6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/render/sc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package render_test
import (
"testing"

"github.com/derailed/k9s/internal/render"
"github.com/stretchr/testify/assert"

"github.com/derailed/k9s/internal/render"
)

func TestStorageClassRender(t *testing.T) {
Expand All @@ -13,5 +14,5 @@ func TestStorageClassRender(t *testing.T) {

assert.NoError(t, c.Render(load(t, "sc"), "", &r))
assert.Equal(t, "-/standard", r.ID)
assert.Equal(t, render.Fields{"standard", "kubernetes.io/gce-pd"}, r.Fields[:2])
assert.Equal(t, render.Fields{"standard (default)", "kubernetes.io/gce-pd"}, r.Fields[:2])
}

0 comments on commit b3cfd6a

Please sign in to comment.