diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-03-10 12:29:09 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-03-10 12:29:09 +0100 |
commit | c0177fe2b28eb09d1534e62370849c3f1d70b40f (patch) | |
tree | 497af7f899b91cad7dffa730432f2c7aa37ba9b3 | |
parent | 5914f91b6c980e42693661d5fd5640e237691df6 (diff) | |
download | hugo-c0177fe2b28eb09d1534e62370849c3f1d70b40f.tar.gz hugo-c0177fe2b28eb09d1534e62370849c3f1d70b40f.zip |
resources: Try to fix a Go 1.15 go vet error
-rw-r--r-- | resources/transform_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/transform_test.go b/resources/transform_test.go index e7235bc8c..6f1837279 100644 --- 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 |