mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
15 lines
242 B
Go
15 lines
242 B
Go
package utils
|
|
|
|
import (
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
"testing"
|
|
)
|
|
|
|
func TestEncryptPassword(t *testing.T) {
|
|
var passwd = "test"
|
|
Convey("Test EncryptPassword", t, func() {
|
|
res := EncryptPassword(passwd)
|
|
t.Log(res)
|
|
})
|
|
}
|