Skip to content

Commit 138ce66

Browse files
committed
Update tests for latest data files
1 parent d1cfd41 commit 138ce66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/tests.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141

4242
test.strictEqual(actual.metro, 501, "should match metro");
4343

44-
test.strictEqual(actual.area, 1, "should match area");
44+
test.strictEqual(actual.area, 5, "should match area");
4545

4646
test.done();
4747
},
@@ -63,7 +63,7 @@ module.exports = {
6363

6464
test.strictEqual(actual.timezone, 'Europe/Amsterdam', "should match timezone");
6565

66-
test.strictEqual(actual.city, 'Amsterdam', "should match city");
66+
test.strictEqual(actual.city, 'Zandvoort', "should match city");
6767

6868
test.ok(actual.ll, 'should contain coordinates');
6969

@@ -78,7 +78,7 @@ module.exports = {
7878
test.expect(2);
7979

8080
var ip = "2.139.175.1";
81-
var expected = "Pamplona";
81+
var expected = "Madrid";
8282
var actual = geoip.lookup(ip);
8383

8484
test.ok(actual, "Should return a non-null value for " + ip);

0 commit comments

Comments
 (0)