aa
This commit is contained in:
@@ -27,8 +27,16 @@ func init() {
|
||||
`)
|
||||
}
|
||||
|
||||
func TestMiniCode(t *testing.T) {
|
||||
result, err := api.MiniCode(2, strings.ToLower("EFA9876238FC11EB9101525400C36BDA"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestGenerateLink(t *testing.T) {
|
||||
result, err := api.GenerateLink(2, strings.ToLower("EFA9876238FC11EB9101525400C36BDA"))
|
||||
result, err := api.GenerateLink(2, 1,strings.ToLower("EFA9876238FC11EB9101525400C36BDA"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user