enterprise/base/util/util_test.go

12 lines
156 B
Go

package util
import (
"fmt"
"testing"
)
func TestCutTail(t *testing.T) {
fmt.Println(CutTail("jiangyong", 4))
fmt.Println(CutTail("jiangyong", 41))
}