tests: Add test for valid x.x.x.255 ipv4 address
This commit is contained in:
parent
b6a6bc8063
commit
8ec6ce0a5a
@ -32,6 +32,7 @@ test_valid_ipv4addr()
|
||||
assertTrue "127.0.0.1" "valid_ipv4addr 127.0.0.1"
|
||||
assertTrue "224.55.6.7" "valid_ipv4addr 224.55.6.7"
|
||||
assertTrue "188.168.15.0" "valid_ipv4addr 188.168.15.0"
|
||||
assertTrue "188.168.15.255" "valid_ipv4addr 188.168.15.255"
|
||||
assertFalse "443.1.1.187" "valid_ipv4addr 443.1.1.187"
|
||||
assertFalse "www" "valid_ipv4addr www"
|
||||
assertFalse ' ' "valid_ipv4addr ' '"
|
||||
|
Loading…
x
Reference in New Issue
Block a user