[#6718] fixed collections import error response

This commit is contained in:
Gani Georgiev
2025-04-14 09:29:25 +03:00
parent 4cc797071b
commit 46186f84f0
3 changed files with 69 additions and 1 deletions
+1
View File
@@ -54,6 +54,7 @@ func TestGeoPointScan(t *testing.T) {
{`{}`, false, `{"lon":1,"lat":2}`},
{`[]`, true, `{"lon":1,"lat":2}`},
{0, true, `{"lon":1,"lat":2}`},
{`{"lon":"1.23","lat":"4.56"}`, true, `{"lon":1,"lat":2}`},
{`{"lon":1.23,"lat":4.56}`, false, `{"lon":1.23,"lat":4.56}`},
{[]byte(`{"lon":1.23,"lat":4.56}`), false, `{"lon":1.23,"lat":4.56}`},
{types.JSONRaw(`{"lon":1.23,"lat":4.56}`), false, `{"lon":1.23,"lat":4.56}`},