main_test.go 244 B

12345678910111213141516171819202122
  1. package main
  2. import (
  3. "testing"
  4. )
  5. func TestOk(t *testing.T) {
  6. }
  7. func Test1(a *testing.T) {
  8. }
  9. func Test_Function(tt *testing.T) {
  10. }
  11. func Test(t *testing.T) {
  12. }
  13. //nolint:tests
  14. func Testfail(t *testing.T) {
  15. panic("Not a test function!")
  16. }