mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 12:25:14 +00:00
commit
01cbe6f0bd
@ -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")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user