Skip to content

Commit 9ef94b2

Browse files
author
Brendan Chang
committed
Fixing comments FuzzDurationStrict and FuzzMicroTimeStrict
1 parent 7aa9434 commit 9ef94b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/fuzz/yaml/yaml.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
sigyaml "sigs.k8s.io/yaml"
2828
)
2929

30-
// FuzzDuration is a fuzz target for strict-unmarshaling Duration defined in
31-
// "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the
30+
// FuzzDurationStrict is a fuzz target for strict-unmarshaling Duration defined
31+
// in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the
3232
// unmarshaled result can be marshaled back to the input.
3333
func FuzzDurationStrict(b []byte) int {
3434
var durationHolder struct {
@@ -47,9 +47,9 @@ func FuzzDurationStrict(b []byte) int {
4747
return 1
4848
}
4949

50-
// FuzzMicroTime is a fuzz target for strict-unmarshaling MicroTime defined in
51-
// "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks that the
52-
// unmarshaled result can be marshaled back to the input.
50+
// FuzzMicroTimeStrict is a fuzz target for strict-unmarshaling MicroTime
51+
// defined in "k8s.io/apimachinery/pkg/apis/meta/v1". This target also checks
52+
// that the unmarshaled result can be marshaled back to the input.
5353
func FuzzMicroTimeStrict(b []byte) int {
5454
var microTimeHolder struct {
5555
T metav1.MicroTime `json:"t"`

0 commit comments

Comments
 (0)