Skip to content

Commit

Permalink
docs(readme): fix RunTestSuite to include got.TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicbarnes committed Nov 8, 2024
1 parent 73b93ad commit 0eff6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func TestUppercase(t *testing.T) {
Output string `testdata:"expected.txt"`
}

got.RunTestSuite(t, "testdata", func (t *testing.T, test Test) Expected {
got.RunTestSuite(t, "testdata", func (t *testing.T, tc got.TestCase, test Test) Expected {
// execute the code under test
actual := Uppercase(test.Input)

Expand Down

0 comments on commit 0eff6c4

Please sign in to comment.