hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c0177fe2b28eb09d1534e62370849c3f1d70b40f
parent 5914f91b6c980e42693661d5fd5640e237691df6
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue, 10 Mar 2020 12:29:09 +0100

resources: Try to fix a Go 1.15 go vet error

Diffstat:
Mresources/transform_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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