Skip to content

Commit e6f532b

Browse files
ClancyWaltersmissinglink
authored andcommitted
test: updated incorrect unit test
1 parent 8f6596d commit e6f532b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/unit/sanitizer/wrap.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ module.exports.tests.latitude_negative = function(test, common) {
9393
t.equal(norm.lon, 0);
9494
t.end();
9595
});
96-
test('positive latitude wrapping - 721 degrees', function (t) {
97-
var norm = wrap(721, 0);
98-
t.equal(norm.lat, 1);
96+
test('negative latitude wrapping - 721 degrees', function (t) {
97+
var norm = wrap(-721, 0);
98+
t.equal(norm.lat, -1);
9999
t.equal(norm.lon, 0);
100100
t.end();
101101
});

0 commit comments

Comments
 (0)