From 03a650f365fc6b5732e59f677da18728f8a1f764 Mon Sep 17 00:00:00 2001 From: Brendan Chang Date: Sat, 26 Oct 2019 22:36:28 -0400 Subject: [PATCH] Change FuzzTime to FuzzTimeStrict for naming consistency --- test/fuzz/yaml/yaml.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fuzz/yaml/yaml.go b/test/fuzz/yaml/yaml.go index da4f8ed3a92..19dbbcd1f38 100644 --- a/test/fuzz/yaml/yaml.go +++ b/test/fuzz/yaml/yaml.go @@ -81,10 +81,10 @@ func FuzzSigYaml(b []byte) int { return out } -// FuzzTime is a fuzz target for strict-unmarshaling Time defined in +// FuzzTimeStrict is a fuzz target for strict-unmarshaling Time 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 FuzzTime(b []byte) int { +func FuzzTimeStrict(b []byte) int { var timeHolder struct { T metav1.Time `json:"t"` }