domain-regex icon indicating copy to clipboard operation
domain-regex copied to clipboard

Test for 'should not match' case has positive assertion

Open d11wtq opened this issue 6 years ago • 0 comments

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?

d11wtq avatar Feb 19 '18 03:02 d11wtq