mirror of
https://github.com/1f349/lavender.git
synced 2025-01-21 22:26:25 +00:00
12 lines
230 B
Go
12 lines
230 B
Go
package utils
|
|
|
|
import (
|
|
"github.com/stretchr/testify/require"
|
|
"testing"
|
|
)
|
|
|
|
func TestEmailHide(t *testing.T) {
|
|
require.Equal(t, "xx", EmailHide("hi"))
|
|
require.Equal(t, "xxxxxxx@xxxxxxx.xxx", EmailHide("example@example.com"))
|
|
}
|