-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to ensure that only exported functions are tested. Ref: https://github.com/tektoncd/community/blob/main/standards.md#go-packages ``` All exported functions should have tests * If your package is named "foo", prefer putting tests in a "foo_test" package in the same folder to ensure that only exported functions are tested ``` The shell command to search for test package names without the `_test` suffix is: * `find . -name "*_test.go" | xargs grep -E '^package ' | grep -Ev '_test$' | grep -v '^./test' | sort`
- Loading branch information
Showing
33 changed files
with
1,229 additions
and
1,151 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.