Ad
  • Default User Avatar

    if my code not allow empty elements, test fails with:

    Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]

    if change my code to allow empty elements, the above test works, but another test fails with:

    Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]

    what's the pattern? allow empty elements or not?

  • Default User Avatar

    last element empty or not?

    Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]
    Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]

  • Default User Avatar

    thanks, description is confusing