summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-06-22 15:00:37 +0200
committerantirez <antirez@gmail.com>2015-06-22 15:00:37 +0200
commit575e247a0e91d662163fd92032b47e7a3b1f2b6b (patch)
tree9cff460190871f6ee399ee339b46ca9ad516beea
parent2f66550729924ccfc20c1418f498f21e0e4bdeca (diff)
downloadredis-575e247a0e91d662163fd92032b47e7a3b1f2b6b.tar.gz
Geo: fix tests after distance precision change
-rw-r--r--tests/unit/geo.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/geo.tcl b/tests/unit/geo.tcl
index cdd52e861..f42928f91 100644
--- a/tests/unit/geo.tcl
+++ b/tests/unit/geo.tcl
@@ -21,7 +21,7 @@ start_server {tags {"geo"}} {
test {GEORADIUS withdistance (sorted)} {
r georadius nyc 40.7598464 -73.9798091 3 km withdistance ascending
- } {{{central park n/q/r} 0.78} {4545 2.37} {{union square} 2.77}}
+ } {{{central park n/q/r} 0.7750} {4545 2.3651} {{union square} 2.7697}}
test {GEORADIUSBYMEMBER simple (sorted)} {
r georadiusbymember nyc "wtc one" 7 km
@@ -29,7 +29,7 @@ start_server {tags {"geo"}} {
test {GEORADIUSBYMEMBER withdistance (sorted)} {
r georadiusbymember nyc "wtc one" 7 km withdist
- } {{{wtc one} 0.00} {{union square} 3.25} {{central park n/q/r} 6.70} {4545 6.20} {{lic market} 6.90}}
+ } {{{wtc one} 0.0000} {{union square} 3.2544} {{central park n/q/r} 6.7000} {4545 6.1975} {{lic market} 6.8969}}
test {GEOENCODE simple} {
r geoencode 41.2358883 1.8063239