Skip to content

Commit f092c38

Browse files
committed
apiextensions-apiserver: update test for CRD custom columns to jsonpath output of non-primitive type
1 parent ba386ab commit f092c38

File tree

1 file changed

+2
-2
lines changed
  • staging/src/k8s.io/apiextensions-apiserver/test/integration

1 file changed

+2
-2
lines changed

staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func TestTableGet(t *testing.T) {
245245
if got, expected := tbl.Rows[0].Cells[4], interface{}(nil); got != expected {
246246
t.Errorf("expected cell[4] to equal %#v although the type does not match the column, got %#v", expected, got)
247247
}
248-
if got, expected := tbl.Rows[0].Cells[5], "[1 2 3]"; got != expected {
248+
if got, expected := tbl.Rows[0].Cells[5], "[1,2,3]"; got != expected {
249249
t.Errorf("expected cell[5] to equal %q, got %q", expected, got)
250250
}
251251
// Validate extra column for v1
@@ -343,7 +343,7 @@ func TestTableGet(t *testing.T) {
343343
if got, expected := tbl.Rows[0].Cells[4], interface{}(nil); got != expected {
344344
t.Errorf("expected cell[4] to equal %#v although the type does not match the column, got %#v", expected, got)
345345
}
346-
if got, expected := tbl.Rows[0].Cells[5], "[1 2 3]"; got != expected {
346+
if got, expected := tbl.Rows[0].Cells[5], "[1,2,3]"; got != expected {
347347
t.Errorf("expected cell[5] to equal %q, got %q", expected, got)
348348
}
349349
// Validate extra column for v1

0 commit comments

Comments
 (0)