mirror of https://github.com/milvus-io/milvus.git
Fix unit test (#13947)
Signed-off-by: sunby <bingyi.sun@zilliz.com> Co-authored-by: sunby <bingyi.sun@zilliz.com>pull/13953/head
parent
02d1282949
commit
7e88f588f0
|
@ -287,7 +287,7 @@ func TestSchema_invalid(t *testing.T) {
|
|||
|
||||
_, err = helper.GetFieldFromName("none")
|
||||
assert.NotNil(t, err)
|
||||
assert.EqualError(t, err, "Failed to get field schema by name: fieldName(none) not found")
|
||||
assert.EqualError(t, err, "failed to get field schema by name: fieldName(none) not found")
|
||||
|
||||
_, err = helper.GetFieldFromID(101)
|
||||
assert.NotNil(t, err)
|
||||
|
|
Loading…
Reference in New Issue