...

Source file src/github.com/stretchr/objx/security_test.go

Documentation: github.com/stretchr/objx

     1  package objx_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/objx"
     7  	"github.com/stretchr/testify/assert"
     8  )
     9  
    10  func TestHashWithKey(t *testing.T) {
    11  	assert.Equal(t, "0ce84d8d01f2c7b6e0882b784429c54d280ea2d9", objx.HashWithKey("abc", "def"))
    12  }
    13  

View as plain text