mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 06:20:08 +08:00
20 lines
254 B
Go
20 lines
254 B
Go
package control
|
|
|
|
import "testing"
|
|
|
|
func TestGenToken(t *testing.T) {
|
|
tok, err := genToken()
|
|
if err == nil {
|
|
t.Log(tok)
|
|
t.Log(isValidToken(tok))
|
|
t.Fail()
|
|
} else {
|
|
t.Fatal(err)
|
|
}
|
|
}
|
|
|
|
func TestMaru(t *testing.T) {
|
|
t.Log(len("\xff"))
|
|
t.Fail()
|
|
}
|