Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion local_examples/geoindex/go-redis/geo_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func ExampleClient_geoindex() {
// OK
// OK
// OK
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}] []}
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}]}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example test output no longer matches

High Severity

The // Output: line for geoQueryResult omits the trailing empty slice that fmt.Println emits for FTSearchResult. Go example tests compare this text exactly, so ExampleClient_geoindex fails even though the query is unchanged.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f7473ca. Configure here.

// OK
// OK
// OK
Expand Down
Loading