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

[test] Remove panic from collections unit tests #657

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Apr 13, 2023

This PR addresses issue #207 for all of the unit tests in src/rust/collections. It also adds a return value to every test and replaces assert with ensure and assert_eq with the new ensure_eq macro.

@iyzhang iyzhang added the bug Something Isn't Working label Apr 13, 2023
@iyzhang iyzhang self-assigned this Apr 13, 2023
Copy link
Contributor

@ppenna ppenna left a comment

Choose a reason for hiding this comment

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

Looks good to me. I left some minor comments.

Thanks for working on this.

@iyzhang iyzhang force-pushed the bugfix-test-unit-collections-remove-panic branch from e3d34a7 to 81f7515 Compare April 14, 2023 22:33
@iyzhang iyzhang force-pushed the bugfix-test-unit-collections-remove-panic branch from 81f7515 to ba57004 Compare April 14, 2023 22:45
@iyzhang iyzhang merged commit a5b16fe into dev Apr 14, 2023
10 checks passed
@iyzhang iyzhang deleted the bugfix-test-unit-collections-remove-panic branch April 14, 2023 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something Isn't Working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants