Closed riclava closed 7 years ago
for _, tpl := range tpls { verr := v.Render(out, tpl, data) if verr != nil { // HERE t.Error(err) } if !strings.Contains(out.String(), data.Name) { t.Errorf("expeted %s to contain %s", out.String(), data.Name) } }
@riclava sorry I had to format the snippet to see clearly!
Can you explain to me more?
Oh! Thanks , I just spotted the issue! It was supposed to be verr! My bad lol!
verr