mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
resources: Try to fix a Go 1.15 go vet error
This commit is contained in:
parent
5914f91b6c
commit
c0177fe2b2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue