Ad
  • Custom User Avatar

    Yes, as I said, that test isn't the one your code is failing it is this one:

    Test.assertEquals(pigIt('O tempora o mores !'),'Oay emporatay oay oresmay !')
    

    If you print the input you'll see that.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    You're using the wrong input value there, it should be 'O tempora o mores !'

    Leave punctuation marks untouched.

    So !ay is wrong.

  • Custom User Avatar

    If you travel down, you subtract button from level. So a test of goto(1, "0") == -1.