Skip to content

Commit 628a2c9

Browse files
committed
Squashed 'json/' changes from ba52c48a..a9a1e2e3
a9a1e2e3 Merge pull request #690 from skryukov/add-ipv4-mask-test 69b53add Add a test case for ipv4 with netmask git-subtree-dir: json git-subtree-split: a9a1e2e347c3b7e840a1a2052cc7182072b23ac0
1 parent e6ec2f9 commit 628a2c9

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

tests/draft-next/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
"description": "invalid non-ASCII '২' (a Bengali 2)",
8282
"data": "1২7.0.0.1",
8383
"valid": false
84+
},
85+
{
86+
"description": "netmask is not a part of ipv4 address",
87+
"data": "192.168.1.0/24",
88+
"valid": false
8489
}
8590
]
8691
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
"description": "invalid non-ASCII '২' (a Bengali 2)",
8282
"data": "1২7.0.0.1",
8383
"valid": false
84+
},
85+
{
86+
"description": "netmask is not a part of ipv4 address",
87+
"data": "192.168.1.0/24",
88+
"valid": false
8489
}
8590
]
8691
}

tests/draft2020-12/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
"description": "invalid non-ASCII '২' (a Bengali 2)",
8282
"data": "1২7.0.0.1",
8383
"valid": false
84+
},
85+
{
86+
"description": "netmask is not a part of ipv4 address",
87+
"data": "192.168.1.0/24",
88+
"valid": false
8489
}
8590
]
8691
}

tests/draft4/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
"description": "invalid non-ASCII '২' (a Bengali 2)",
7979
"data": "1২7.0.0.1",
8080
"valid": false
81+
},
82+
{
83+
"description": "netmask is not a part of ipv4 address",
84+
"data": "192.168.1.0/24",
85+
"valid": false
8186
}
8287
]
8388
}

tests/draft6/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
"description": "invalid non-ASCII '২' (a Bengali 2)",
7979
"data": "1২7.0.0.1",
8080
"valid": false
81+
},
82+
{
83+
"description": "netmask is not a part of ipv4 address",
84+
"data": "192.168.1.0/24",
85+
"valid": false
8186
}
8287
]
8388
}

tests/draft7/optional/format/ipv4.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
"description": "invalid non-ASCII '২' (a Bengali 2)",
7979
"data": "1২7.0.0.1",
8080
"valid": false
81+
},
82+
{
83+
"description": "netmask is not a part of ipv4 address",
84+
"data": "192.168.1.0/24",
85+
"valid": false
8186
}
8287
]
8388
}

0 commit comments

Comments
 (0)