From f9c0b02c215cf73b3dfc95f973a407957708f833 Mon Sep 17 00:00:00 2001 From: Brendan Melville Date: Tue, 17 Nov 2015 13:46:17 -0800 Subject: [PATCH] Adding the rest of validations for manager expand test. --- manager/manager/manager_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manager/manager/manager_test.go b/manager/manager/manager_test.go index d8211d23b..635c98cc5 100644 --- a/manager/manager/manager_test.go +++ b/manager/manager/manager_test.go @@ -400,8 +400,12 @@ func TestExpand(t *testing.T) { t.Error("Failed to expand template into manifest.") } - if m.InputConfig != nil { - t.Errorf("Input config not nil: %v", *m) + if m.Name != "" { + t.Errorf("Name was not empty: %v", *m) + } + + if m.Deployment != "" { + t.Errorf("Deployment was not empty: %v", *m) } if m.InputConfig != nil {