enterprise/base/wechat/util/signature_test.go

12 lines
206 B
Go
Raw Permalink Normal View History

2023-08-13 21:24:54 +08:00
package util
import "testing"
func TestSignature(t *testing.T) {
//abc sig
abc := "a9993e364706816aba3e25717850c26c9cd0d89d"
if abc != Signature("a", "b", "c") {
t.Error("test Signature Error")
}
}