Text file src/cmd/go/testdata/script/cover_test_race_issue56370.txt

     1  [short] skip
     2  [!race] skip
     3  
     4  go test -race -cover issue.56370/filter
     5  
     6  -- go.mod --
     7  module issue.56370
     8  
     9  go 1.20
    10  
    11  -- filter/filter.go --
    12  
    13  package filter
    14  
    15  func New() func(error) bool {
    16  	return func(error) bool {
    17  		return false
    18  	}
    19  }
    20  
    21  -- filter/filter_test.go --
    22  
    23  package filter_test
    24  
    25  import (
    26  	"testing"
    27  
    28  	"issue.56370/filter"
    29  )
    30  
    31  func Test1(t *testing.T) {
    32  	t.Parallel()
    33  
    34  	_ = filter.New()
    35  }
    36  
    37  func Test2(t *testing.T) {
    38  	t.Parallel()
    39  
    40  	_ = filter.New()
    41  }
    42  
    43  func Test3(t *testing.T) {
    44  	t.Parallel()
    45  
    46  	_ = filter.New()
    47  }
    48  
    49  func Test4(t *testing.T) {
    50  	t.Parallel()
    51  
    52  	_ = filter.New()
    53  }
    54  
    55  

View as plain text