mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-12 20:13:59 +02:00
resources: Try to fix a Go 1.15 go vet error
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user