test(test_by_yulang):add test

This commit is contained in:
yu_lang 2021-08-22 16:57:42 +08:00
parent 9fd9be29a3
commit 78ee204877
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package lrutest
import (
"github.com/stretchr/testify/require"
"testing"
)
func TestTest(t *testing.T) {
ts , err := Test(2)
require.NoError(t, err)
require.Regexp(t, '\d', ts)
}