Skip to content

Commit

Permalink
Merge pull request #14 from ganchandrasekaran/patch-12
Browse files Browse the repository at this point in the history
removed debugging depandencies  in testing
  • Loading branch information
henderiw authored Apr 19, 2023
2 parents b11c74b + 1717686 commit 2d0fc40
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions krm-functions/lib/parser/parser_test.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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())
}
Expand Down Expand Up @@ -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())
}
Expand Down Expand Up @@ -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())
}
Expand Down

0 comments on commit 2d0fc40

Please sign in to comment.