add test comparing structs that should panic

This commit is contained in:
Derek Parker 2023-05-02 14:21:39 -07:00
parent fd67de004b
commit 36b8563777
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func main() {
{true, T3{i: b, s: "fooz"}, T3{i: b, s: "bar"}},
{false, T3{s: "fooz", j: b}, T3{s: "bar", j: b}},
{true, A{s1, s2}, A{s2, s1}},
{true, s1, s2},
} {
f := func() {
defer func() {