Skip to content

Commit

Permalink
Fix nightly case TestSearchInvalidExpr error msg (#586)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Sep 21, 2023
1 parent 780ec0b commit 86817a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testcases/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ func TestSearchInvalidExpr(t *testing.T) {
invalidExpr := []invalidExprStruct{
//{expr: "id in [0]", errMsg: "fieldName(id) not found"}, // not exist field
{expr: "int64 in not [0]", errMsg: "cannot parse expression"}, // wrong term expr keyword
{expr: "int64 < floatVec", errMsg: "unsupported"}, // unsupported compare field
{expr: "int64 < floatVec", errMsg: "not supported"}, // unsupported compare field
{expr: "floatVec in [0]", errMsg: "cannot be casted to FloatVector"}, // value and field type mismatch
}

Expand Down

0 comments on commit 86817a9

Please sign in to comment.