mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-23 10:50:24 +08:00
18 lines
424 B
Go
18 lines
424 B
Go
// Package validate_test
|
|
// @Link https://github.com/bufanyun/hotgo
|
|
// @Copyright Copyright (c) 2023 HotGo CLI
|
|
// @Author Ms <133814250@qq.com>
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
package validate_test
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/test/gtest"
|
|
"hotgo/utility/validate"
|
|
"testing"
|
|
)
|
|
|
|
func TestIsEmail(t *testing.T) {
|
|
b := validate.IsEmail("QTT123456@163.com")
|
|
gtest.Assert(true, b)
|
|
}
|