You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
223 B
Go

package goscope2
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGenerateMessageHash(t *testing.T) {
expect := "098f6bcd46"
result := generateMessageHash("test")
assert.Equal(t, expect, result)
}