mirror of
https://github.com/1f349/tulip.git
synced 2024-11-15 08:11:42 +00:00
12 lines
231 B
Go
12 lines
231 B
Go
package red_pages
|
|
|
|
import (
|
|
"github.com/stretchr/testify/assert"
|
|
"testing"
|
|
)
|
|
|
|
func TestEmailHide(t *testing.T) {
|
|
assert.Equal(t, "xx", EmailHide("hi"))
|
|
assert.Equal(t, "xxxxxxx@xxxxxxx.xxx", EmailHide("example@example.com"))
|
|
}
|