From b885d645fe94c83880bdbb47badb2ca1c8da5a05 Mon Sep 17 00:00:00 2001 From: yogesnsamy <28777569+yogesnsamy@users.noreply.github.com> Date: Fri, 17 Sep 2021 10:57:51 +0800 Subject: [PATCH] Update golang.md Use propercase in renaming the function in the `Testing` example --- languages/golang.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/golang.md b/languages/golang.md index 11e7dfd..fcb35fa 100644 --- a/languages/golang.md +++ b/languages/golang.md @@ -641,7 +641,7 @@ func TestSum(t *testing.T) { x, y := 2, 4 expected := 2 + 4 - if !reflect.DeepEqual(sum(x, y), expected) { + if !reflect.DeepEqual(Sum(x, y), expected) { t.Fatalf("Function Sum not working as expected") } }