From 3a944ab12f803c38c92982f11691aa4d87161ae1 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Wed, 27 Jul 2022 15:31:12 +0800 Subject: [PATCH] test: update slice unit test --- slice/slice_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slice/slice_test.go b/slice/slice_test.go index c724d29..649fe61 100644 --- a/slice/slice_test.go +++ b/slice/slice_test.go @@ -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"}