Ad
  • Custom User Avatar

    Array can not be compared directly.

    try

    Test.assertEquals( JSON.stringify(flatten([[1,2,3], [4,5,6]])), JSON.stringify([1,2,3,4,5,6]));