We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8356ff7 commit 771be40Copy full SHA for 771be40
provider/formtype_test.go
@@ -241,12 +241,12 @@ func TestValidateFormType(t *testing.T) {
241
t.Run(c.name, func(t *testing.T) {
242
t.Parallel()
243
244
+ formTypesChecked[c.config.String()] = struct{}{}
245
formTypeTest(t, c)
246
if _, ok := formTypesChecked[c.config.String()]; ok {
247
t.Log("Duplicated form type check, delete this extra test case")
248
t.Fatalf("form type %q already checked", c.config.String())
249
}
- formTypesChecked[c.config.String()] = struct{}{}
250
})
251
252
0 commit comments