diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-07 00:02:06 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-07 00:02:06 +0100 |
commit | bd2b679eaf45669e23a724a5dacd5421c5ec61e1 (patch) | |
tree | b17d13faab28086195701c56e54fe34dd1a86f3c /helpers/general_test.go | |
parent | e685dfc0c607b3051dbac29e1209900e58de1605 (diff) |
helpers: apply some Golint rules
Diffstat (limited to 'helpers/general_test.go')
-rw-r--r-- | helpers/general_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/general_test.go b/helpers/general_test.go index 13a6f13fe..c727560b4 100644 --- a/helpers/general_test.go +++ b/helpers/general_test.go @@ -110,13 +110,13 @@ func TestSliceToLowerNonDestructive(t *testing.T) { // This assignment actually copies the content // of input into a new object. // Otherwise, the test would not make sense... - input_copy := input + inputCopy := input SliceToLower(input) for i, e := range input { - if e != input_copy[i] { - t.Errorf("TestSliceToLowerNonDestructive failed. Expected element #%d of input slice to be %s. Found %s.", i, input_copy[i], input[i]) + if e != inputCopy[i] { + t.Errorf("TestSliceToLowerNonDestructive failed. Expected element #%d of input slice to be %s. Found %s.", i, inputCopy[i], input[i]) } } } |