Skip to content

Commit

Permalink
test(internal/fields): fix NoTags test (googleapis#10264)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul2393 authored May 25, 2024
1 parent 3894dc5 commit 0b28aac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/fields/fields_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,10 @@ func TestFieldsWithTags(t *testing.T) {
field("NoTag", int(0), 0),
tfield("tag", int(0), 1),
tfield("anon", Anonymous(0), 2),
tfield("em", Embed{}, 4),
tfield("Tag", int(0), 6),
field("Empty", int(0), 7),
tfield("em", Embed{}, 3),
tfield("Tag", int(0), 5),
field("Empty", int(0), 6),
tfield("Dup2", int(0), 7, 1),
tfield("Dup", int(0), 8, 0),
}
if msg, ok := compareFields(got, want); !ok {
Expand Down

0 comments on commit 0b28aac

Please sign in to comment.