Skip to content

Commit

Permalink
improve index blob test
Browse files Browse the repository at this point in the history
  • Loading branch information
nasdf committed Dec 6, 2023
1 parent 871990c commit 438894b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/indexed_docs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ func TestNonUnique_StoringIndexedFieldValueOfDifferentTypes(t *testing.T) {
{Name: "invalid bool", FieldKind: client.FieldKind_BOOL, FieldVal: "invalid", ShouldFail: true},
{Name: "invalid datetime", FieldKind: client.FieldKind_DATETIME, FieldVal: nowStr[1:], ShouldFail: true},
{Name: "invalid datetime type", FieldKind: client.FieldKind_DATETIME, FieldVal: 1, ShouldFail: true},
{Name: "invalid blob type", FieldKind: client.FieldKind_BLOB, FieldVal: "invalid", ShouldFail: true},
{Name: "invalid blob", FieldKind: client.FieldKind_BLOB, FieldVal: "invalid", ShouldFail: true},
{Name: "invalid blob type", FieldKind: client.FieldKind_BLOB, FieldVal: 1, ShouldFail: true},

{Name: "valid int", FieldKind: client.FieldKind_INT, FieldVal: 12},
{Name: "valid float", FieldKind: client.FieldKind_FLOAT, FieldVal: 36.654},
Expand Down

0 comments on commit 438894b

Please sign in to comment.