go1.19: switch to new nolint directive that is compatible with Go 1.19 gofmt

This commit is contained in:
Christian Schwarz
2022-10-23 18:16:37 +02:00
parent b9250a41a2
commit 6c87bdb9fb
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func TestSampleConfigsAreParsedWithoutErrors(t *testing.T) {
}
// template must be a template/text template with a single '{{ . }}' as placeholder for val
//nolint[:deadcode,unused]
//nolint:deadcode,unused
func testValidConfigTemplate(t *testing.T, tmpl string, val string) *Config {
tmp, err := template.New("master").Parse(tmpl)
if err != nil {