From 1417e4b64fcb4a9a159e6cb3be8c0db248806f28 Mon Sep 17 00:00:00 2001 From: Clancy Walters Date: Tue, 19 Mar 2024 22:46:31 +1100 Subject: [PATCH] test: updated incorrect unit test --- test/unit/sanitizer/wrap.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/sanitizer/wrap.js b/test/unit/sanitizer/wrap.js index 143ee65a8..708e479f1 100644 --- a/test/unit/sanitizer/wrap.js +++ b/test/unit/sanitizer/wrap.js @@ -93,9 +93,9 @@ module.exports.tests.latitude_negative = function(test, common) { t.equal(norm.lon, 0); t.end(); }); - test('positive latitude wrapping - 721 degrees', function (t) { - var norm = wrap(721, 0); - t.equal(norm.lat, 1); + test('negative latitude wrapping - 721 degrees', function (t) { + var norm = wrap(-721, 0); + t.equal(norm.lat, -1); t.equal(norm.lon, 0); t.end(); });