Fix typo "sturct" to "struct"

This commit is contained in:
zeze 2022-08-28 23:19:40 +09:00
parent 1959fe1b94
commit eeef44aa68

View File

@ -341,7 +341,7 @@ func TestRoundTrip(t *testing.T) {
// TestUnknownFields checks for the collection of unknown // TestUnknownFields checks for the collection of unknown
// field errors from the various possible locations of // field errors from the various possible locations of
// unknown fields (e.g. fields on struct, inlined sturct, slice, etc) // unknown fields (e.g. fields on struct, inlined struct, slice, etc)
func TestUnknownFields(t *testing.T) { func TestUnknownFields(t *testing.T) {
// simples checks that basic unknown fields are found // simples checks that basic unknown fields are found
// in fields, subfields and slices. // in fields, subfields and slices.