diff --git a/test/unit/sanitizer/wrap.js b/test/unit/sanitizer/wrap.js index 143ee65a8..7eeb1eef6 100644 --- a/test/unit/sanitizer/wrap.js +++ b/test/unit/sanitizer/wrap.js @@ -94,8 +94,8 @@ module.exports.tests.latitude_negative = function(test, common) { t.end(); }); test('positive latitude wrapping - 721 degrees', function (t) { - var norm = wrap(721, 0); - t.equal(norm.lat, 1); + var norm = wrap(-721, 0); + t.equal(norm.lat, -1); t.equal(norm.lon, 0); t.end(); });