Skip to content

Commit

Permalink
docs: update go table driven tests link in CODING_GUIDELINES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
beepdeepor committed Oct 2, 2024
1 parent fc28210 commit a629781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CODING_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Make sure your code is well tested:
We expect tests to use `require` or `assert` rather than `t.Skip` or `t.Fail`,
unless there is a reason to do otherwise.
When testing a function under a variety of different inputs, we prefer to use
[table driven tests](https://github.com/golang/go/wiki/TableDrivenTests).
[table driven tests](https://go.dev/wiki/TableDrivenTests).
Table driven test error messages should follow the following format
`<desc>, tc #<index>, i #<index>`.
`<desc>` is an optional short description of what's failing, `tc` is the
Expand Down

0 comments on commit a629781

Please sign in to comment.