Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatable diff set #731

Merged
merged 5 commits into from
Jun 25, 2014
Merged

Datatable diff set #731

merged 5 commits into from
Jun 25, 2014

Conversation

yoelb
Copy link
Contributor

@yoelb yoelb commented Jun 11, 2014

Datatable.diff allows a diff if and only if lines are in the same order.
It can be a limitation if for readability you want to specify an order in your test but when fetching data, it cames in a different order.

This pull request add this feature.

@aslakhellesoy
Copy link
Contributor

This is great!

Could you try to implement it without guava? I really like guava, but version incompatibilities are likely to occur if projects depend on a different version of it.

Alternatively we could jarjar it into the cucumber-deps lib, but that's a bit cumbersome.

@yoelb
Copy link
Contributor Author

yoelb commented Jun 12, 2014

I have change the algorithm to deal with duplicate. No need of guava anymore.
I have also renamed diffSet methjod with unorderedDiff ;)

@aslakhellesoy aslakhellesoy merged commit 8a76735 into cucumber:master Jun 25, 2014
aslakhellesoy added a commit that referenced this pull request Jun 25, 2014
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants