drone/vendor/github.com/stretchr/objx/security_test.go
2015-09-29 17:34:44 -07:00

13 lines
249 B
Go

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