From: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> Date: Tue, 10 Mar 2020 11:29:09 +0000 (+0100) Subject: resources: Try to fix a Go 1.15 go vet error X-Git-Tag: v0.67.1~7 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c0177fe2b28eb09d1534e62370849c3f1d70b40f;p=brevno-suite%2Fhugo resources: Try to fix a Go 1.15 go vet error --- diff --git a/resources/transform_test.go b/resources/transform_test.go index e7235bc8..6f183727 100644 --- a/resources/transform_test.go +++ b/resources/transform_test.go @@ -323,7 +323,7 @@ func TestTransform(t *testing.T) { transformations := make([]ResourceTransformation, count) for i := 0; i < count; i++ { - transformations[i] = createContentReplacer(fmt.Sprintf("t%d", i), fmt.Sprint(i), string(i+65)) + transformations[i] = createContentReplacer(fmt.Sprintf("t%d", i), fmt.Sprint(i), string(rune(i+65))) } var countstr strings.Builder