...

Source file src/github.com/jarcoal/httpmock/race_test.go

Documentation: github.com/jarcoal/httpmock

     1  package httpmock_test
     2  
     3  import (
     4  	"net/http"
     5  	"testing"
     6  
     7  	. "github.com/jarcoal/httpmock"
     8  )
     9  
    10  func TestActivateNonDefaultRace(t *testing.T) {
    11  	for i := 0; i < 10; i++ {
    12  		go ActivateNonDefault(&http.Client{})
    13  	}
    14  }
    15  

View as plain text