Skip to content

Commit

Permalink
Remove fmt.Println from test (open-telemetry#616)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
jpkrohling authored Dec 8, 2021
1 parent d2b91cf commit ae8f3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/instrumentation/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ func TestSDKInjection(t *testing.T) {
client: k8sClient,
}
pod := inj.injectCommonSDKConfig(context.Background(), test.inst, corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: test.pod.Namespace}}, test.pod)
b, _ := json.MarshalIndent(pod, "", " ")
fmt.Println(string(b))
_, err = json.MarshalIndent(pod, "", " ")
assert.NoError(t, err)
assert.Equal(t, test.expected, pod)
})
}
Expand Down

0 comments on commit ae8f3a8

Please sign in to comment.