mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 06:40:26 +08:00
18 lines
377 B
Go
18 lines
377 B
Go
// Copyright 2022 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
|
|
|
|
package utils_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/TeaOSLab/EdgeAPI/internal/utils"
|
|
"github.com/iwind/TeaGo/types"
|
|
)
|
|
|
|
func TestSha1Random(t *testing.T) {
|
|
for i := 0; i < 10; i++ {
|
|
var s = utils.Sha1RandomString()
|
|
t.Log("["+types.String(len(s))+"]", s)
|
|
}
|
|
}
|