Skip to content

Commit

Permalink
updated: test data for IP whois
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiIgna committed Aug 4, 2024
1 parent 209a21b commit 67c74ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ describe('Whoiser', function() {
describe('#whoiser.ip()', function() {
it('should return WHOIS for "8.8.8.8"', async function() {
let whois = await whoiser.ip('8.8.8.8')
assert.equal(whois.range, '8.0.0.0 - 8.127.255.255', 'IP Range doesn\'t match')
assert.equal(whois.route, '8.0.0.0/9', 'IP Route doesn\'t match')
assert.equal(whois.range, '8.8.8.0 - 8.8.8.255', 'IP Range doesn\'t match')
assert.equal(whois.route, '8.8.8.0/24', 'IP Route doesn\'t match')
});

it('should return WHOIS for "2606:4700:4700::1111"', async function() {
Expand Down

0 comments on commit 67c74ac

Please sign in to comment.