Ad
  • Default User Avatar

    All test ran successfully except three which is returning [
    // assertEquals(Arrays.asList(), RepeatingWord.findWord(" ... "));
    // assertEquals(Arrays.asList(), RepeatingWord.findWord(" ' "));
    // assertEquals(Arrays.asList(), RepeatingWord.findWord(" ''' "));

    Getting error of comparison of
    org.opentest4j.AssertionFailedError: expected: java.util.Arrays$ArrayList@5abca1e0<[]> but was: java.util.ArrayList@2286778<[]>
    how ever i am using comparator and in comparison its giving error in unit test only.

  • Default User Avatar

    yes actually, missed one test case. thanks

  • Default User Avatar

    abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZReturnsTwentySix

    How its expecting 26? It should be 13