From a066ba9628b8bf6a1906454264f1ee4880e1afb3 Mon Sep 17 00:00:00 2001 From: Thomas Rodgers Date: Mon, 29 Jun 2020 09:55:48 -0700 Subject: [PATCH] added count to expected output --- cmd/config/internal/commands/cmdcreatesetter_test.go | 5 +++++ cmd/config/internal/commands/e2e/create_setter_test.go | 1 + 2 files changed, 6 insertions(+) diff --git a/cmd/config/internal/commands/cmdcreatesetter_test.go b/cmd/config/internal/commands/cmdcreatesetter_test.go index a0890fc67..7f3c58930 100644 --- a/cmd/config/internal/commands/cmdcreatesetter_test.go +++ b/cmd/config/internal/commands/cmdcreatesetter_test.go @@ -55,6 +55,7 @@ openAPI: name: replicas value: "3" setBy: me + count: 1 `, expectedResources: ` apiVersion: apps/v1 @@ -117,6 +118,7 @@ openAPI: name: replicas value: "3" setBy: me + count: 1 `, expectedResources: ` apiVersion: apps/v1 @@ -188,6 +190,7 @@ openAPI: - b - c setBy: me + count: 2 `, expectedResources: ` apiVersion: example.com/v1beta1 @@ -287,6 +290,7 @@ openAPI: - b - c setBy: me + count: 1 `, expectedResources: ` apiVersion: example.com/v1beta1 @@ -326,6 +330,7 @@ openAPI: name: replicas value: "3" setBy: me + count: 1 `, expectedResources: ` apiVersion: apps/v1 diff --git a/cmd/config/internal/commands/e2e/create_setter_test.go b/cmd/config/internal/commands/e2e/create_setter_test.go index 999ec0eeb..9cfeacc3a 100644 --- a/cmd/config/internal/commands/e2e/create_setter_test.go +++ b/cmd/config/internal/commands/e2e/create_setter_test.go @@ -49,6 +49,7 @@ openAPI: setter: name: replicas value: "3" + count: 1 `, }, },