From 3011b6ec457b052fd93f8aae0cca85d6bdefb5eb Mon Sep 17 00:00:00 2001 From: tidwall Date: Wed, 14 Sep 2022 08:14:29 -0700 Subject: [PATCH] Upgrade geojson dependency --- go.mod | 2 +- go.sum | 4 ++-- tests/keys_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 58022229..60a6b2a3 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/streadway/amqp v1.0.0 github.com/tidwall/btree v1.4.3 github.com/tidwall/buntdb v1.2.9 - github.com/tidwall/geojson v1.3.4 + github.com/tidwall/geojson v1.3.6 github.com/tidwall/gjson v1.12.1 github.com/tidwall/match v1.1.1 github.com/tidwall/pretty v1.2.0 diff --git a/go.sum b/go.sum index 3dda8c0d..d478d03a 100644 --- a/go.sum +++ b/go.sum @@ -359,8 +359,8 @@ github.com/tidwall/cities v0.1.0/go.mod h1:lV/HDp2gCcRcHJWqgt6Di54GiDrTZwh1aG2ZU github.com/tidwall/geoindex v1.4.4/go.mod h1:rvVVNEFfkJVWGUdEfU8QaoOg/9zFX0h9ofWzA60mz1I= github.com/tidwall/geoindex v1.7.0 h1:jtk41sfgwIt8MEDyC3xyKSj75iXXf6rjReJGDNPtR5o= github.com/tidwall/geoindex v1.7.0/go.mod h1:rvVVNEFfkJVWGUdEfU8QaoOg/9zFX0h9ofWzA60mz1I= -github.com/tidwall/geojson v1.3.4 h1:mHB2yGK7HPgf4vFkLdPeIzguFpqkmCT2yTgGhXbrqBo= -github.com/tidwall/geojson v1.3.4/go.mod h1:1cn3UWfSYCJOq53NZoQ9rirdw89+DM0vw+ZOAVvuReg= +github.com/tidwall/geojson v1.3.6 h1:ZbpDNwdhXyDe8XGTplGVaGrcS2ViFaSoo3QBNXe1uhM= +github.com/tidwall/geojson v1.3.6/go.mod h1:1cn3UWfSYCJOq53NZoQ9rirdw89+DM0vw+ZOAVvuReg= github.com/tidwall/gjson v1.12.1 h1:ikuZsLdhr8Ws0IdROXUS1Gi4v9Z4pGqpX/CvJkxvfpo= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/grect v0.1.4 h1:dA3oIgNgWdSspFzn1kS4S/RDpZFLrIxAZOdJKjYapOg= diff --git a/tests/keys_test.go b/tests/keys_test.go index 5e5e8254..b5b16464 100644 --- a/tests/keys_test.go +++ b/tests/keys_test.go @@ -197,7 +197,7 @@ func keys_SET_test(mc *mockServer) error { {"SET", "mykey", "myid", "BOUNDS", 33, -115, 33, -115}, {"OK"}, {"GET", "mykey", "myid", "POINT"}, {"[33 -115]"}, {"GET", "mykey", "myid", "BOUNDS"}, {"[[33 -115] [33 -115]]"}, - {"GET", "mykey", "myid", "OBJECT"}, {`{"type":"Polygon","coordinates":[[[-115,33],[-115,33],[-115,33],[-115,33],[-115,33]]]}`}, + {"GET", "mykey", "myid", "OBJECT"}, {`{"type":"Point","coordinates":[-115,33]}`}, {"GET", "mykey", "myid", "HASH", 7}, {"9my5xp7"}, {"DEL", "mykey", "myid"}, {"1"}, {"GET", "mykey", "myid"}, {nil},