Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

21 lines
632 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
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) {}