Skip to content

#2703 "Lists should be equal" keywords in the Collection library should have the option to ignore order - #2720

Closed
bbpatel2001 wants to merge 2 commits into
robotframework:masterfrom
bbpatel2001:2703_list_comp_master
Closed

bbpatel2001 wants to merge 2 commits into
robotframework:masterfrom
bbpatel2001:2703_list_comp_master

Conversation

@bbpatel2001

Copy link
Copy Markdown
Contributor

No description provided.

@bbpatel2001

bbpatel2001 commented Nov 23, 2017 •

Copy link
Copy Markdown
Contributor Author

Lists Should Be Equal With Different Values Ignore_order :: FAIL L... | PASS
Lists Should Be Equal With Different Values And Own Error Message ... | PASS
Lists Should Be Equal With Different Values And Own And Default Er... | PASS |

Lists Should Be Equal With Named Indices As List Ignore_order :: F... | FAIL |
Lists are different:
Index 0 (a): 11 != 13
Index 2 (c): 13 != 11
Lists Should Be Equal With Named Indices As List With Too Few Valu... | PASS
Lists Should Be Equal With Duplicate Value Ignore_order :: PASS li... | PASS
Lists Should Be Equal With Duplicate Value Second Small List :: FA... | FAIL |
Lists are different
Lists Should Be Equal With Two Duplicate Value Ignore_order :: FAI... | PASS
Lists Should Be Equal With Duplicate And Different Value Ignore_or... | FAIL |
Lists are different:
Index 2: A != E
Index 3: D != A

@bbpatel2001

Copy link
Copy Markdown
Contributor Author

@pekkaklarck , any suggestions on this ?

@bbpatel2001

Copy link
Copy Markdown
Contributor Author

@pekkaklarck can you please check this is acceptable PR?

@pekkaklarck

Copy link
Copy Markdown
Member

Sorry, had forgotten about this. Was there an issue related to this PR as well? I won't have time for review now, but could target the issue to RF 3.1.1 so that it won't be forgotten again.

@kblomqvist

Copy link
Copy Markdown

Would List Should Contain Sub List ${list1} ${list2} work for you? It fails if not all of the elements in list2 are found in list1. The order of values and the number of values are not taken into account.

@bbpatel2001
bbpatel2001 deleted the 2703_list_comp_master branch February 12, 2020 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants