Skip to content

Commit 837d7ec

Browse files
test: update ipv6.test.ts (#32)
See #31 (comment) for details
1 parent ed64b1a commit 837d7ec

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

src/test/ts/ipv6.test.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
/**
2-
* This test cases was borrowed and slightly adapted from richb-intermapper/IPv6-Regex.
2+
* These test cases were borrowed and slightly adapted from richb-intermapper/IPv6-Regex.
33
* All credit goes to Rich Brown, Dartware, intermapper.com.
44
*
5-
* Source references:
6-
*
5+
* Provenance of the test cases: The original document at:
76
* https://github.com/richb-intermapper/IPv6-Regex/blob/master/test-ipv6-regex.pl
7+
* collected test cases from various sources around the internet.
88
*
9+
* THERE ARE DEFINITELY DUPLICATE TESTS. They don't matter if the test
10+
* function works, they take a millisecond (or less) to check.
11+
*
12+
* Please submit updated tests cases as an Issue to this repository.
13+
*
914
* Original license:
1015
*
11-
* IPv6 Regex by Dartware, LLC is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License To attribute this work, place a link to http://intermapper.com in the Credits or About... window of your software. We would love to have you send any changes to the code or regular expression back to us at support@intermapper.com.
16+
* IPv6 Regex by Dartware, LLC is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
17+
* To attribute this work, place a link to http://intermapper.com in the Credits or About... window of your software.
18+
* We would love to have you send any changes to the code or regular expression back to us at support@intermapper.com.
1219
*/
1320

1421
import { test, describe, beforeAll, afterAll, expect } from 'vitest'

0 commit comments

Comments
 (0)