Skip to content

Commit

Permalink
gotypes: test case for issue #195
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Oct 30, 2021
1 parent 7de0251 commit 0603167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gotypes/signature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ func TestSignatureSizes(t *testing.T) {
{"func(uint64) uint64", 16},
{"func([7]byte) byte", 9},
{"func(uint64, uint64) (uint64, uint64)", 32},
{"func(uint16)", 2},
{"func(uint16)", 2}, // issue #191
{"func(*uint64, uint32)", 12}, // issue #195
}
for _, c := range cases {
s, err := ParseSignature(c.Expr)
Expand Down

0 comments on commit 0603167

Please sign in to comment.