Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/test-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Table-driven tests with [subtests] can be a helpful pattern for writing tests
to avoid duplicating code when the core test logic is repetitive.

If a system under test needs to be tested against _multiple conditions_ where
certain parts of the the inputs and outputs change, a table-driven test should
certain parts of the inputs and outputs change, a table-driven test should
be used to reduce redundancy and improve readability.

[subtests]: https://go.dev/blog/subtests
Expand Down
2 changes: 1 addition & 1 deletion style.md
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@ Table-driven tests with [subtests](https://go.dev/blog/subtests) can be a helpfu
to avoid duplicating code when the core test logic is repetitive.

If a system under test needs to be tested against *multiple conditions* where
certain parts of the the inputs and outputs change, a table-driven test should
certain parts of the inputs and outputs change, a table-driven test should
be used to reduce redundancy and improve readability.

<table>
Expand Down