mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-11 00:40:00 +08:00
chore: refactor mapping errors (#3843)
This commit is contained in:
@@ -1340,7 +1340,7 @@ func TestUnmarshalNullableSlice(t *testing.T) {
|
||||
}
|
||||
|
||||
ast := assert.New(t)
|
||||
ast.Equal(UnmarshalKey(m, &v), errUnsupportedType)
|
||||
ast.Equal(UnmarshalKey(m, &v), errNilSliceElement)
|
||||
}
|
||||
|
||||
func TestUnmarshalIntSlice(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user