Skip to content

Commit

Permalink
updated incorrect unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClancyWalters committed Mar 19, 2024
1 parent 8f6596d commit e47fe53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/sanitizer/wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit e47fe53

Please sign in to comment.