domain-regex
domain-regex copied to clipboard
Test for 'should not match' case has positive assertion
https://github.com/johnotander/domain-regex/blob/2a192d1661b13141c4f303ae60d5c78db83eb08d/test/test.js#L44
That test says it shouldn't match, but then goes on to assert.ok()
for every invalid domain. Bug, or out of date test logic?