mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
resources: Try to fix a Go 1.15 go vet error
This commit is contained in:
1 file changed
+1
-1
@@ -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