From 17176860c5ddceadc1760edfefc2e5cf1b019bf1 Mon Sep 17 00:00:00 2001 From: Ganesh Chandrasekaran Date: Wed, 19 Apr 2023 15:28:56 +0530 Subject: [PATCH] removed debugging depandencies in testing --- krm-functions/lib/parser/parser_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/krm-functions/lib/parser/parser_test.go b/krm-functions/lib/parser/parser_test.go index eb88dbde..07c4e646 100644 --- a/krm-functions/lib/parser/parser_test.go +++ b/krm-functions/lib/parser/parser_test.go @@ -1,7 +1,6 @@ package parser import ( - "fmt" "github.com/GoogleContainerTools/kpt-functions-sdk/go/fn" v1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -107,7 +106,6 @@ func TestNewFromKubeObject(t *testing.T) { deploymentKubeObjectParserObject := &objParser{ p: deploymentKubeObjectParser, } - fmt.Println(deploymentKubeObjectParserObject.p.GetKubeObject().String()) if deploymentKubeObjectParser.GetKubeObject() != deploymentKubeObjectParserObject.p.GetKubeObject() { t.Errorf("TestNewFromKubeObject: -want%s, +got:\n%s", deploymentKubeObjectParserObject.p.GetKubeObject(), deploymentKubeObjectParser.GetKubeObject()) } @@ -269,7 +267,6 @@ func TestNewFromYaml(t *testing.T) { deploymentKubeObjectParserObject := &objParser{ p: deploymentKubeObjectParser, } - fmt.Println(deploymentKubeObjectParserObject.p.GetKubeObject().String()) if deploymentKubeObjectParser.GetKubeObject() != deploymentKubeObjectParserObject.p.GetKubeObject() { t.Errorf("TestNewFromKubeObject: -want%s, +got:\n%s", deploymentKubeObjectParserObject.p.GetKubeObject(), deploymentKubeObjectParser.GetKubeObject()) } @@ -423,7 +420,6 @@ func TestNewFromGoStruct(t *testing.T) { deploymentKubeObjectParserObject := &objParser{ p: deploymentKubeObjectParser, } - fmt.Println(deploymentKubeObjectParserObject.p.GetKubeObject().String()) if deploymentKubeObjectParser.GetKubeObject() != deploymentKubeObjectParserObject.p.GetKubeObject() { t.Errorf("TestNewFromKubeObject: -want%s, +got:\n%s", deploymentKubeObjectParserObject.p.GetKubeObject(), deploymentKubeObjectParser.GetKubeObject()) }