Ad
  • Default User Avatar

    Issue clearly specified.

    "The following sorting snippet works in my IRB but doesn't work in the tests that are run."

    This is confirmed by adding a "p s.sort" in the code.

  • Default User Avatar

    This seems broken on Ruby (both MRI versions). The following sorting snippet works in my IRB but doesn't work in the tests that are run.

    irb(main):001:0> a = ["turns", "out", "random", "test", "cases", "are", "easier", "than", "writing", "out", "basic", "ones"]
    => ["turns", "out", "random", "test", "cases", "are", "easier", "than", "writing", "out", "basic", "ones"]
    irb(main):002:0> a.sort
    => ["are", "basic", "cases", "easier", "ones", "out", "out", "random", "test", "than", "turns", "writing"]