Ad
  • Custom User Avatar

    thanks I got the solution to take that into account and it passed.

  • Custom User Avatar

    I am not happy with my solution. My first Kata. I would like to have done a more elegant solution. It works but feels dirty.

  • Custom User Avatar

    Hello I am getting the below failures when I submit the test. I wanted to query if this was correct.
    It says when Length is 0 it should get a string which has a length of 0 however in the instructions it says if the given length is less that the string the strng should return untouched.

    I assume "hello world" with a length of 0 is being passed into the method. Should returning "hello world" be correct?

    --------failure message--------------
    set length to 0
    should return string when length is longer than string
    Length is different - Expected: 0, instead got: 11
    should match the shortened string
    should be empty string - Expected: "", instead got: "hello world