style: gofmt

This commit is contained in:
Jakub Zych
2026-11-05 01:00:36 +01:00
parent 9c11b7064d
commit 6d14f71ae5
15 changed files with 116 additions and 115 deletions

View File

@@ -48,7 +48,9 @@ func TestFieldTriggerSmoke(t *testing.T) {
}
})
trig := func(body string) string { return base + " notes:\n type: textarea\n trigger:\n" + body }
trig := func(body string) string {
return base + " notes:\n type: textarea\n trigger:\n" + body
}
for _, tc := range []struct{ name, fields, want string }{
{"unknown action", trig(" action: show\n field: is_admin\n condition: checked\n"), "action show is not supported"},
{"unknown condition", trig(" action: hide\n field: is_admin\n condition: value[1]\n"), "condition value[1] is not supported"},