Skip to content

Commit c096ac2

Browse files
author
Andrew LeFevre
committed
updated license date, use 'marshal' with one 'l' consistently
1 parent f618571 commit c096ac2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/net/netip/fuzz_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 The Go Authors. All rights reserved.
1+
// Copyright 2021 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

@@ -224,8 +224,8 @@ func FuzzParse(f *testing.F) {
224224
})
225225
}
226226

227-
// checkTextMarshaller checks that x's MarshalText and UnmarshalText functions round trip correctly.
228-
func checkTextMarshaller(t *testing.T, x encoding.TextMarshaler) {
227+
// checkTextMarshaler checks that x's MarshalText and UnmarshalText functions round trip correctly.
228+
func checkTextMarshaler(t *testing.T, x encoding.TextMarshaler) {
229229
buf, err := x.MarshalText()
230230
if err == nil {
231231
return
@@ -255,8 +255,8 @@ func checkTextMarshaller(t *testing.T, x encoding.TextMarshaler) {
255255
}
256256
}
257257

258-
// checkBinaryMarshaller checks that x's MarshalText and UnmarshalText functions round trip correctly.
259-
func checkBinaryMarshaller(t *testing.T, x encoding.BinaryMarshaler) {
258+
// checkBinaryMarshaler checks that x's MarshalText and UnmarshalText functions round trip correctly.
259+
func checkBinaryMarshaler(t *testing.T, x encoding.BinaryMarshaler) {
260260
buf, err := x.MarshalBinary()
261261
if err == nil {
262262
return
@@ -358,8 +358,8 @@ func checkStringParseRoundTrip[P netipTypeCmp](t *testing.T, x P, parse func(str
358358
}
359359

360360
func checkEncoding(t *testing.T, x netipType) {
361-
checkTextMarshaller(t, x)
362-
checkBinaryMarshaller(t, x)
361+
checkTextMarshaler(t, x)
362+
checkBinaryMarshaler(t, x)
363363
checkTextMarshalMatchesString(t, x)
364364
if am, ok := x.(appendMarshaler); ok {
365365
checkTextMarshalMatchesAppendTo(t, am)

0 commit comments

Comments
 (0)