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

feat(claim.go): add Outputs field to Claim struct #66

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

vdice
Copy link
Member

@vdice vdice commented Jul 19, 2019

"foo-output": true,
"bar-output": "bar",
}
is.Equal(c.Outputs, want, "Wrong outputs on claim")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The signature for Equal is first the expected result, then the actual result. This got switched here which can lead to confusing error messages if the test were to fail.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Fixed.

"foo-output": true,
"bar-output": "baz",
}
is.Equal(c.Outputs, want, "Wrong outputs on claim")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, the parameter order should be reversed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Fixed.

@vdice vdice force-pushed the feat/add-claim-outputs branch from 395b85a to 33b7052 Compare July 22, 2019 15:26
Copy link
Contributor

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jeremyrickard jeremyrickard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeremyrickard jeremyrickard merged commit 4f62b69 into cnabio:master Jul 22, 2019
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