Skip to content

Commit 8896313

Browse files
tobiobiscout42
andauthored
Update internal/elasticsearch/index/validation_test.go
Co-authored-by: Boris Ilyushonak <[email protected]>
1 parent 80f6a7e commit 8896313

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/elasticsearch/index/validation_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ func Test_stringIsJSONObject(t *testing.T) {
1616
name: "should not return an error for a valid json object",
1717
fieldVal: "{}",
1818
},
19+
{
20+
name: "should not return an error for a null",
21+
fieldVal: "null",
22+
},
23+
1924
{
2025
name: "should return an error if the field is not a string",
2126
fieldVal: true,

0 commit comments

Comments
 (0)