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

add tests for actions #19

Merged
merged 1 commit into from
Jul 21, 2019
Merged

add tests for actions #19

merged 1 commit into from
Jul 21, 2019

Conversation

glyn
Copy link

@glyn glyn commented Jul 17, 2019

No description provided.

@glyn
Copy link
Author

glyn commented Jul 17, 2019

@technosophos This is a reworked version of #9.

@glyn glyn mentioned this pull request Jul 17, 2019
.unwrap();

let actions = bun.actions;
assert_that(&actions).is_some();
Copy link
Member

Choose a reason for hiding this comment

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

I think it might be easier to use the assert_eq macro here; we would just define a second "expected" bundle and pass it in.

I haven't used it, but pretty_assertions looks like a nice ux improvement on this with the same API.

Copy link
Member

@technosophos technosophos left a comment

Choose a reason for hiding this comment

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

LGTM

I do think that as a separate issue we should revisit what we want to do as far as assertion libraries.

@glyn glyn merged commit bbaa767 into cnabio:master Jul 21, 2019
@glyn glyn deleted the action_tests branch July 21, 2019 23: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.

None yet

3 participants