Ad
  • Custom User Avatar

    Seeing some issues w/ random ruby tests.

    eg.

    Testing for word: GnnOwwceJ

    It Should encode ')))))))))' - Expected: ")))))))))", instead got: "())())((("

    According to the test, all of the letters in the above string appear more than once. They obviously don't. G, O, C, E and J all appear once, regardless of capitalization. This is the simplest I've seen, but it appears that all of the random character string tests in Ruby are broken. They all expect a series of ')' characters, matching the length of the string, but not actually testing the case.