gotest.tools/gotestsum@v1.11.0/testjson/internal/frenzy/frenzy_test.go (about)

     1  // +build stubpkg,panic
     2  
     3  package frenzy
     4  
     5  import (
     6  	"fmt"
     7  	"testing"
     8  )
     9  
    10  func TestPassed(t *testing.T) {}
    11  
    12  func TestPassedWithLog(t *testing.T) {
    13  	t.Log("this is a log")
    14  }
    15  
    16  func TestPassedWithStdout(t *testing.T) {
    17  	fmt.Println("this is a Print")
    18  }
    19  
    20  func TestPanics(t *testing.T) {
    21  	panic("this is a panic")
    22  }