summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/objx/security_test.go
blob: 8c623db91da49907fe1a117021c71a36d665b3bc (plain)
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"))
}