mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-10 09:22:06 -04:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
20 lines
634 B
Go
20 lines
634 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
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) {}
|