mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
remove printer helpers
This commit is contained in:
@@ -1121,7 +1121,7 @@ func TestRunApplySetLastApplied(t *testing.T) {
|
||||
name: "set with exist object",
|
||||
filePath: filenameRC,
|
||||
expectedErr: "",
|
||||
expectedOut: "replicationcontroller/test-rc configured\n",
|
||||
expectedOut: "replicationcontroller/test-rc\n",
|
||||
output: "name",
|
||||
},
|
||||
{
|
||||
@@ -1142,14 +1142,14 @@ func TestRunApplySetLastApplied(t *testing.T) {
|
||||
name: "set with exist object output json",
|
||||
filePath: filenameRCJSON,
|
||||
expectedErr: "",
|
||||
expectedOut: "replicationcontroller/test-rc configured\n",
|
||||
expectedOut: "replicationcontroller/test-rc\n",
|
||||
output: "name",
|
||||
},
|
||||
{
|
||||
name: "set test for a directory of files",
|
||||
filePath: dirName,
|
||||
expectedErr: "",
|
||||
expectedOut: "replicationcontroller/test-rc configured\nreplicationcontroller/test-rc configured\n",
|
||||
expectedOut: "replicationcontroller/test-rc\nreplicationcontroller/test-rc\n",
|
||||
output: "name",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user