quii / learn-go-with-tests

Learn Go with test-driven development
MIT License
22.21k stars 2.81k forks source link

Fix parameter type typo in arrays guide #676

Closed nslee333 closed 1 year ago

nslee333 commented 1 year ago

Found two typos, it won't compile for *testing.TB -> t.Errorf undefined (type *testing.TB is pointer to interface, not interface)

nslee333 commented 1 year ago

Jumped the gun with this PR, found this PR -> https://github.com/quii/learn-go-with-tests/pull/623