4
0
mirror of https://github.com/1f349/tulip.git synced 2025-01-13 02:46:34 +00:00
tulip/pages/pages_test.go

12 lines
227 B
Go

package 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"))
}