1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 07:02:29 +08:00

test: update slice unit test

This commit is contained in:
dudaodong
2022-07-27 15:31:12 +08:00
parent 387079d034
commit 3a944ab12f

View File

@@ -617,7 +617,7 @@ func TestToSlicePointer(t *testing.T) {
assert.Equal([]*interface{}{&str1, &str2}, ToSlicePointer(str1, str2))
}
func TestToAppendIfAbsent(t *testing.T) {
func TestAppendIfAbsent(t *testing.T) {
assert := internal.NewAssert(t, "TestToAppendIfAbsent")
str1 := []string{"a", "b"}