forked from p93542168/wheat-cache
test(test_by_yulang):add test
This commit is contained in:
parent
9fd9be29a3
commit
78ee204877
|
@ -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)
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue