diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-03-23 10:10:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-03-23 10:10:28 +0100 |
commit | 937592cb85f6b4bf4603230050ac0afdcc93058b (patch) | |
tree | 9a0f175ebf52f0928581eb252d25cbd6903384c8 /hugolib/shortcode_test.go | |
parent | 8a60571fd2bd95f77c25d50daf285196e91a266a (diff) |
hugolib: Fix some more Golint warnings
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 3c13fa298..544cc4baa 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -534,7 +534,7 @@ func BenchmarkReplaceShortcodeTokens(b *testing.B) { {strings.Repeat("A ", 3000) + " {#{#HUGOSHORTCODE-1#}#}." + strings.Repeat("BC ", 1000) + " {#{#HUGOSHORTCODE-1#}#}.", map[string]string{"{#{#HUGOSHORTCODE-1#}#}": "Hello World"}, []byte(strings.Repeat("A ", 3000) + " Hello World." + strings.Repeat("BC ", 1000) + " Hello World.")}, } - var in []input = make([]input, b.N*len(data)) + var in = make([]input, b.N*len(data)) var cnt = 0 for i := 0; i < b.N; i++ { for _, this := range data { |