chore: refactor (#2085)

This commit is contained in:
Kevin Wan
2022-07-02 00:15:38 +08:00
committed by GitHub
parent f3b8fef34f
commit 18035bd4d4
2 changed files with 19 additions and 16 deletions

View File

@@ -100,7 +100,7 @@ func TestDerefValInt(t *testing.T) {
for _, each := range cases {
t.Run(each.t.String(), func(t *testing.T) {
assert.Equal(t, each.expect, DerefVal(each.t).Kind())
assert.Equal(t, each.expect, ensureValue(each.t).Kind())
})
}
}