Skip to content

Commit bd1b64e

Browse files
DOC-4733 removed obsolete request for dialect 4
1 parent ea94b10 commit bd1b64e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Doc/GeoIndexExample.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ public void run()
183183
new Query("(-@name:(Green Square) @geom:[WITHIN $qshape])")
184184
.AddParam("qshape", "POLYGON ((1 1, 1 3, 3 3, 3 1, 1 1))")
185185
.Limit(0, 1)
186-
.Dialect(4)
187186
);
188187

189188
Console.WriteLine(geomQueryResult.Documents.Count); // >>> 1
@@ -197,7 +196,7 @@ public void run()
197196
// REMOVE_START
198197
Assert.Single(geomQueryResult.Documents);
199198
Assert.Equal(
200-
"[{\"name\":\"Purple Point\",\"geom\":\"POINT (2 2)\"}]",
199+
"{\"name\":\"Purple Point\",\"geom\":\"POINT (2 2)\"}",
201200
string.Join(", ", geomQueryResult.Documents.Select(x => x["json"]))
202201
);
203202
// REMOVE_END

0 commit comments

Comments
 (0)