From f092c388402ef611829fabb0ad1a1ad6f4c288df Mon Sep 17 00:00:00 2001 From: Phil Ferrell Date: Wed, 15 Apr 2020 23:58:32 -0700 Subject: [PATCH] apiextensions-apiserver: update test for CRD custom columns to jsonpath output of non-primitive type --- .../apiextensions-apiserver/test/integration/table_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go b/staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go index cd002747238..f6db46b8e0e 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go +++ b/staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go @@ -245,7 +245,7 @@ func TestTableGet(t *testing.T) { if got, expected := tbl.Rows[0].Cells[4], interface{}(nil); got != expected { t.Errorf("expected cell[4] to equal %#v although the type does not match the column, got %#v", expected, got) } - if got, expected := tbl.Rows[0].Cells[5], "[1 2 3]"; got != expected { + if got, expected := tbl.Rows[0].Cells[5], "[1,2,3]"; got != expected { t.Errorf("expected cell[5] to equal %q, got %q", expected, got) } // Validate extra column for v1 @@ -343,7 +343,7 @@ func TestTableGet(t *testing.T) { if got, expected := tbl.Rows[0].Cells[4], interface{}(nil); got != expected { t.Errorf("expected cell[4] to equal %#v although the type does not match the column, got %#v", expected, got) } - if got, expected := tbl.Rows[0].Cells[5], "[1 2 3]"; got != expected { + if got, expected := tbl.Rows[0].Cells[5], "[1,2,3]"; got != expected { t.Errorf("expected cell[5] to equal %q, got %q", expected, got) } // Validate extra column for v1