Retired

CIS 122 #8 Input Validation (retired)

Description
Loading description...
Fundamentals
  • Please sign in or sign up to leave a comment.
  • btripp1990 Avatar

    I also was not able to complete this kata. The sample test kept returning:

    "Expected an error on plus_one("pineapple"): ['Please enter a number: ', ''] should equal ['Please enter a number: ', 'PASSED::Test Passed']"

    I think there is an issue with this kata. No matter what I do, there is an extra blank line of output ('') before "PASSED::" or "FAILED::".

  • Voile Avatar
    test.assert_equals(print_output[4:6], [
        'Please enter a number: ', 
        '<PASSED::>Test Passed'], 'Expected an error on plus_one("pineapple")')
    

    The kata does not work anymore.