File: security_test.go

package info (click to toggle)
golang-objx 0.0~git20150928.0.1a9d0bb-1~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 324 kB
  • sloc: makefile: 5
file content (12 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
package objx

import (
	"github.com/stretchr/testify/assert"
	"testing"
)

func TestHashWithKey(t *testing.T) {

	assert.Equal(t, "0ce84d8d01f2c7b6e0882b784429c54d280ea2d9", HashWithKey("abc", "def"))

}