Ad
  • Custom User Avatar

    I have a solution which passes normal test cases but fails on random strings during submit. Here's the message I get:

    Testing String citpr8cpqctev04hl12y80rij
    Should work for random string too - Expected: "cj1", instead got: "cj1ii2tr3p04r858y6c27p18ql9ch10t411e012"
    

    Is it me getting the kata in a wrong way, or is there a bug in tests? (Language used - ruby).