Ad
  • Custom User Avatar

    Ok. Then what is the test-case, which points out adequately to my bug?

  • Custom User Avatar

    Traceback (most recent call last):
    File "tests.py", line 21, in
    test.assert_equals(to_camel_case(word), camel_sol(word), "to_camel_case("+word+") did not return correct value")
    File "/workspace/default/solution.py", line 7, in to_camel_case
    if text_list[i] == '_' or text_list[i] == '-':
    IndexError: list index out of range

    What does it mean camel_sol(word) during the test? Quite stupid task with vague description