Files
vault/tools/codechecker/pkg/godoctests/testdata/funcs.go
hc-github-team-secure-vault-core 5ee5e2ce46 backport of 8c18f24b9d (#21611) (#21614)
* combine into one checker

* combine and simplify ci checks

* add to test package list

* remove testing test

* only run deprecations check

* only run deprecations check

* remove unneeded repo check

* fix bash options

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-07-10 15:25:45 +02:00

18 lines
562 B
Go

package testdata
import "testing"
// Test_GoDocOK is a test that has a go doc
func Test_GoDocOK(t *testing.T) {}
func Test_NoGoDocFails(t *testing.T) {} // want "Test Test_NoGoDocFails is missing a go doc"
// This test does not have a go doc beginning with the function name
func Test_BadGoDocFails(t *testing.T) {} // want "Test Test_BadGoDocFails must have a go doc beginning with the function name"
func test_TestHelperNoGoDocOK(t *testing.T) {}
func Test_DifferentSignatureNoGoDocOK() {}
func Test_DifferentSignature2NoGoDocOK(t *testing.T, a int) {}