mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-02-02 18:28:41 +08:00
12 lines
175 B
Go
12 lines
175 B
Go
package validate
|
|
|
|
import (
|
|
"github.com/stretchr/testify/assert"
|
|
"testing"
|
|
)
|
|
|
|
func TestIsEmail(t *testing.T) {
|
|
b := IsEmail("QTT123456@163.com")
|
|
assert.True(t, b, "ok~")
|
|
}
|