Fix unit test (#13947)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/13953/head
Bingyi Sun 2021-12-22 12:11:03 +08:00 committed by GitHub
parent 02d1282949
commit 7e88f588f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)