From 9ef94b2d4786ce35ba429fa0cfe95066a6b69fcd Mon Sep 17 00:00:00 2001 From: Brendan Chang Date: Fri, 25 Oct 2019 11:44:49 -0400 Subject: [PATCH] Fixing comments FuzzDurationStrict and FuzzMicroTimeStrict --- test/fuzz/yaml/yaml.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fuzz/yaml/yaml.go b/test/fuzz/yaml/yaml.go index 2a31673a784..da4f8ed3a92 100644 --- a/test/fuzz/yaml/yaml.go +++ b/test/fuzz/yaml/yaml.go @@ -27,8 +27,8 @@ import ( sigyaml "sigs.k8s.io/yaml" ) -// FuzzDuration is a fuzz target for strict-unmarshaling Duration defined in -// "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the +// FuzzDurationStrict is a fuzz target for strict-unmarshaling Duration defined +// in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the // unmarshaled result can be marshaled back to the input. func FuzzDurationStrict(b []byte) int { var durationHolder struct { @@ -47,9 +47,9 @@ func FuzzDurationStrict(b []byte) int { return 1 } -// FuzzMicroTime is a fuzz target for strict-unmarshaling MicroTime defined in -// "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the -// unmarshaled result can be marshaled back to the input. +// FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime +// defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks +// that the unmarshaled result can be marshaled back to the input. func FuzzMicroTimeStrict(b []byte) int { var microTimeHolder struct { T metav1.MicroTime `json:"t"`