Skip to content

Commit

Permalink
Add long valid and invalid ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR committed Jul 21, 2020
1 parent b2ab70e commit ad47b72
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/draft2019-09/optional/format/ipv6.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@
"description": "zone id is not a part of ipv6 address",
"data": "fe80::a%eth1",
"valid": false
},
{
"description": "a long valid ipv6",
"data": "1000:1000:1000:1000:1000:1000:255.255.255.255",
"valid": true
},
{
"description": "a long invalid ipv6, below length limit, first",
"data": "100:100:100:100:100:100:255.255.255.255.255",
"valid": false
},
{
"description": "a long invalid ipv6, below length limit, second",
"data": "100:100:100:100:100:100:100:255.255.255.255",
"valid": false
}
]
}
Expand Down
15 changes: 15 additions & 0 deletions tests/draft4/optional/format/ipv6.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@
"description": "zone id is not a part of ipv6 address",
"data": "fe80::a%eth1",
"valid": false
},
{
"description": "a long valid ipv6",
"data": "1000:1000:1000:1000:1000:1000:255.255.255.255",
"valid": true
},
{
"description": "a long invalid ipv6, below length limit, first",
"data": "100:100:100:100:100:100:255.255.255.255.255",
"valid": false
},
{
"description": "a long invalid ipv6, below length limit, second",
"data": "100:100:100:100:100:100:100:255.255.255.255",
"valid": false
}
]
}
Expand Down
15 changes: 15 additions & 0 deletions tests/draft6/optional/format/ipv6.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@
"description": "zone id is not a part of ipv6 address",
"data": "fe80::a%eth1",
"valid": false
},
{
"description": "a long valid ipv6",
"data": "1000:1000:1000:1000:1000:1000:255.255.255.255",
"valid": true
},
{
"description": "a long invalid ipv6, below length limit, first",
"data": "100:100:100:100:100:100:255.255.255.255.255",
"valid": false
},
{
"description": "a long invalid ipv6, below length limit, second",
"data": "100:100:100:100:100:100:100:255.255.255.255",
"valid": false
}
]
}
Expand Down
15 changes: 15 additions & 0 deletions tests/draft7/optional/format/ipv6.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@
"description": "zone id is not a part of ipv6 address",
"data": "fe80::a%eth1",
"valid": false
},
{
"description": "a long valid ipv6",
"data": "1000:1000:1000:1000:1000:1000:255.255.255.255",
"valid": true
},
{
"description": "a long invalid ipv6, below length limit, first",
"data": "100:100:100:100:100:100:255.255.255.255.255",
"valid": false
},
{
"description": "a long invalid ipv6, below length limit, second",
"data": "100:100:100:100:100:100:100:255.255.255.255",
"valid": false
}
]
}
Expand Down

0 comments on commit ad47b72

Please sign in to comment.