MM-14768: Switches field type from sql.NullBool to a bool pointer. (#10526)

This commit is contained in:
Martin Kraft
2019-03-29 09:42:25 -04:00
committed by GitHub
parent a186592257
commit 020ba82cdb
4 changed files with 23 additions and 25 deletions

View File

@@ -171,7 +171,7 @@ func TestTeamPatch(t *testing.T) {
if *p.AllowOpenInvite != o.AllowOpenInvite {
t.Fatal("AllowOpenInvite did not update")
}
if *p.GroupConstrained != o.GroupConstrained.Bool {
t.Fatalf("expected %v got %v", *p.GroupConstrained, o.GroupConstrained.Bool)
if *p.GroupConstrained != *o.GroupConstrained {
t.Fatalf("expected %v got %v", *p.GroupConstrained, *o.GroupConstrained)
}
}