Closed cwinters8 closed 1 year ago
utils.Failf and utils.Checkf are no longer needed, so they should be replaced and removed.
utils.Failf
utils.Checkf
Replace uses of utils.Failf with t.Fatalf.
t.Fatalf
Replace uses of utils.Checkf by using a "table driven" (struct driven?) approach. For each test case, append a utils.Case to a slice of cases, then iterate over the slice to test each case.
utils.Case
utils.Failf
andutils.Checkf
are no longer needed, so they should be replaced and removed.Replace uses of
utils.Failf
witht.Fatalf
.Replace uses of
utils.Checkf
by using a "table driven" (struct driven?) approach. For each test case, append autils.Case
to a slice of cases, then iterate over the slice to test each case.