Skip to content

Commit 2719210

Browse files
authored
Merge pull request #398 from ChALkeR/chalker/no-dec-ipv4
Decimal IPs are also not dotted-quad
2 parents 817b724 + f5f481a commit 2719210

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

tests/draft2019-09/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
"description": "an IP address as an integer",
2828
"data": "0x7f000001",
2929
"valid": false
30+
},
31+
{
32+
"description": "an IP address as an integer (decimal)",
33+
"data": "2130706433",
34+
"valid": false
3035
}
3136
]
3237
}

tests/draft4/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
"description": "an IP address as an integer",
2828
"data": "0x7f000001",
2929
"valid": false
30+
},
31+
{
32+
"description": "an IP address as an integer (decimal)",
33+
"data": "2130706433",
34+
"valid": false
3035
}
3136
]
3237
}

tests/draft6/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
"description": "an IP address as an integer",
2828
"data": "0x7f000001",
2929
"valid": false
30+
},
31+
{
32+
"description": "an IP address as an integer (decimal)",
33+
"data": "2130706433",
34+
"valid": false
3035
}
3136
]
3237
}

tests/draft7/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
"description": "an IP address as an integer",
2828
"data": "0x7f000001",
2929
"valid": false
30+
},
31+
{
32+
"description": "an IP address as an integer (decimal)",
33+
"data": "2130706433",
34+
"valid": false
3035
}
3136
]
3237
}

0 commit comments

Comments
 (0)