src.dualinventive.com/go/redis-proxy/vendor/github.com/stretchr/objx/security_test.go

13 lines
241 B
Go

package objx_test
import (
"testing"
"github.com/stretchr/objx"
"github.com/stretchr/testify/assert"
)
func TestHashWithKey(t *testing.T) {
assert.Equal(t, "0ce84d8d01f2c7b6e0882b784429c54d280ea2d9", objx.HashWithKey("abc", "def"))
}