ref: c0177fe2b28eb09d1534e62370849c3f1d70b40f
parent: 5914f91b6c980e42693661d5fd5640e237691df6
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Tue Mar 10 08:29:09 EDT 2020
resources: Try to fix a Go 1.15 go vet error
--- a/resources/transform_test.go
+++ b/resources/transform_test.go
@@ -323,7 +323,7 @@
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