Skip to content
New issue

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

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

Already on GitHub? # to your account

tests: use go-cmp and diff (from pipeline) 🧙 #392

Conversation

vdemeester
Copy link
Member

Changes

… instead of reflect package.
This standardize the "diff" we see in case of error. In most tests
change in this commit, it adds more information in case the test fails.

Signed-off-by: Vincent Demeester vdemeest@redhat.com

/cc @sm43 @savitaashture @nikhil-thomas

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

… instead of `reflect` package.
This standardize the "diff" we see in case of error. In most tests
change in this commit, it adds more information in case the test fails.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 25, 2021
@sm43
Copy link
Member

sm43 commented Aug 26, 2021

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2021
@nikhil-thomas
Copy link
Member

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 27, 2021
@tekton-robot tekton-robot merged commit d4599fc into tektoncd:main Aug 27, 2021
@vdemeester vdemeester deleted the test-use-cmp-and-diff-instead-of-reflect branch August 27, 2021 09:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants