]> git.openstreetmap.org Git - rails.git/blobdiff - lib/map_boundary.rb
making it clearer when a test case fails, as to which test case it is that is failing...
[rails.git] / lib / map_boundary.rb
index 9b39c9342353fd28a693d1052a45bce99048fe07..da7e44b3299278110e321a7743ac09fd4d6aa05e 100644 (file)
@@ -17,6 +17,7 @@ module MapBoundary
       raise("The minimum latitude must be less than the maximum latitude, but it wasn't")
     end
     unless min_lon >= -180 && min_lat >= -90 && max_lon <= 180 && max_lat <= 90
+      # Due to sanitize_boundaries, it is highly unlikely we'll actually get here
       raise("The latitudes must be between -90 and 90, and longitudes between -180 and 180")
     end