github.com/bingoohuang/gg@v0.0.0-20240325092523-45da7dee9335/pkg/hack/curgoroutineid_test.go (about)

     1  package hack
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestGid(t *testing.T) {
    10  	assert.NotEmpty(t, CurGoroutineID())
    11  }