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:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user