Skip to content

Commit

Permalink
added test entry
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Mar 25, 2024
1 parent a23a8e8 commit db8ca47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ describe("Tests", function() {
expect(ipUtils.isValidIP(null)).to.equal(false);
expect(ipUtils.isValidIP("2001:db8:123::")).to.equal(true);
expect(ipUtils.isValidIP("::ffff:0:0")).to.equal(true);
expect(ipUtils.isValidIP("::ffff::0:0")).to.equal(false);
expect(ipUtils.isValidIP("::")).to.equal(true);
expect(ipUtils.isValidIP("::1")).to.equal(true);
expect(ipUtils.isValidIP("2001:db8:123::/64")).to.equal(false);
Expand Down

0 comments on commit db8ca47

Please sign in to comment.