GetOneEmailFromStr修改
This commit is contained in:
@@ -274,6 +274,10 @@ func TestGetOneEmailFromStr(t *testing.T) {
|
||||
"test@kk.com",
|
||||
"中人国test@kk.com2342",
|
||||
},
|
||||
[]string{
|
||||
"donald.trump_1-3@163.com",
|
||||
"中人国donald.trump_1-3@163.com2342",
|
||||
},
|
||||
} {
|
||||
if str := GetOneEmailFromStr(v[1]); str != v[0] {
|
||||
t.Errorf("%s failed, result:%s, expect:%s", v[1], str, v[0])
|
||||
|
||||
Reference in New Issue
Block a user