Move go-crypt to gitlab
This commit is contained in:
parent
3dd22ecb09
commit
dd8305ec06
7 changed files with 1 additions and 1 deletions
18
vendor/github.com/nyarla/go-crypt/crypt_test.go
generated
vendored
18
vendor/github.com/nyarla/go-crypt/crypt_test.go
generated
vendored
|
|
@ -1,18 +0,0 @@
|
|||
package crypt
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCrypt(t *testing.T) {
|
||||
if ret := Crypt("testtest", "es"); ret != `esDRYJnY4VaGM` {
|
||||
t.Fatal(fmt.Sprintf(`result of Crypt is musmatch: %+v`, []byte(ret)))
|
||||
}
|
||||
}
|
||||
|
||||
func ExampleCrypt() {
|
||||
fmt.Println(Crypt("testtest", "es"))
|
||||
// Output:
|
||||
// esDRYJnY4VaGM
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue