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

     1  package fn_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/bingoohuang/gg/pkg/fn"
     7  	"github.com/stretchr/testify/assert"
     8  )
     9  
    10  func TestGetFuncName(t *testing.T) {
    11  	assert.Equal(t, "github.com/bingoohuang/gg/pkg/fn.GetFuncName", fn.GetFuncName(fn.GetFuncName))
    12  }