security_test.go 241 字节
Newer Older
J
Jeet Parekh 已提交
1 2 3 4 5 6 7 8 9 10 11 12
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"))
}