diff options
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]) } } } |