Skip to content

Commit

Permalink
Merge pull request #690 from skryukov/add-ipv4-mask-test
Browse files Browse the repository at this point in the history
Add a test case for ipv4 with netmask
  • Loading branch information
Julian authored Oct 11, 2023
2 parents ba52c48 + 69b53ad commit a9a1e2e
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/draft-next/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft2019-09/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft2020-12/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft4/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft6/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft7/optional/format/ipv4.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "1২7.0.0.1",
"valid": false
},
{
"description": "netmask is not a part of ipv4 address",
"data": "192.168.1.0/24",
"valid": false
}
]
}
Expand Down

0 comments on commit a9a1e2e

Please sign in to comment.