diff --git a/tests/unit/geo.tcl b/tests/unit/geo.tcl index 76f65b397..181430a87 100644 --- a/tests/unit/geo.tcl +++ b/tests/unit/geo.tcl @@ -60,6 +60,11 @@ start_server {tags {"geo"}} { r georadius nyc -73.9798091 40.7598464 10 km COUNT 3 } {{central park n/q/r} 4545 {union square}} + test {GEORADIUS with COUNT but missing integer argument} { + catch {r georadius nyc -73.9798091 40.7598464 10 km COUNT} e + set e + } {ERR*syntax*} + test {GEORADIUS with COUNT DESC} { r georadius nyc -73.9798091 40.7598464 10 km COUNT 2 DESC } {{wtc one} q4}