go-practical-tips icon indicating copy to clipboard operation
go-practical-tips copied to clipboard

Fix missing comma in TestAdd function

Open Younesi opened this issue 1 year ago • 0 comments

This pull request fixes a minor syntax error in the TestAdd function. A comma (,) was missing after one of the test case struct declarations, which would cause compilation errors.

Specific Change:

  • Added a comma (,) after "positive & zero", 5, 0, 5 within the testCases slice.

Younesi avatar May 30 '24 23:05 Younesi