Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

test failure: dnscache main test suite should error on invalid reverse lookup #25

Open
simevo opened this issue Apr 7, 2018 · 0 comments

Comments

@simevo
Copy link

simevo commented Apr 7, 2018

this test fails:

it('should error on invalid reverse lookup', function(done) {
  dns.reverse('1.1.1.1', function(err) {
    assert.ok((err instanceof Error));
    done();
  });
});

with:

Uncaught AssertionError [ERR_ASSERTION]: false == true

1.1.1.1 is now a valid ip address

simevo pushed a commit to simevo/dnscache that referenced this issue Apr 7, 2018
use 0.42.42.42 as invalid IP address as per https://stackoverflow.com/a/10456069
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant