You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your conclusion is incorrect.
If you ADDED the 999 test instead of CHANGING 1000 to 999, I believe there would also be no error.
That indicates that it is not a problem of check50 not handling the 1000 test, but rather that you did not have another test which would expose the flaw in the code.
Note that 1000 could possibly be picked up as false for having too many digits.
check50 for doesn't handle 4 digit numbers in IPv4 addresses.
This version of
test_numb3rs.py
results in an error messageError message is:
Modify
test_numb3rs.py
as shown below, and the error goes away.Check50 output:
:) test_numb3rs.py catches numb3rs.py only checking if first byte of IPv4 address is in range
The text was updated successfully, but these errors were encountered: