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: add unit tests for ABI function generation #67

Closed
wants to merge 4 commits into from

Conversation

iqdecay
Copy link
Contributor

@iqdecay iqdecay commented Jan 27, 2022

This PR implements unit tests for the function expansion portion of the ABIgen.
It closes issue #6.

@iqdecay iqdecay linked an issue Jan 27, 2022 that may be closed by this pull request
@iqdecay iqdecay self-assigned this Jan 27, 2022
@iqdecay iqdecay added the enhancement New feature or request label Jan 27, 2022

// Regarding string->TokenStream->string, refer to `custom_types_gen` tests for more details.
#[cfg(test)]
mod tests {
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit confused, aren't these tests already being introduced in #73?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just built #73 on top of #67 haha sorry I should have waited

Copy link
Member

Choose a reason for hiding this comment

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

Hah, it happens. You can close this one and we continue the review process on #73?

Copy link
Member

Choose a reason for hiding this comment

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

Or maybe, since you wanna merge this one first, you can address my comments on #73 here, then ping me when you want me to take another pass?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to fix everything at once in #73.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good!

@iqdecay
Copy link
Contributor Author

iqdecay commented Jan 31, 2022

Closing in favor of #73

@iqdecay iqdecay closed this Jan 31, 2022
@iqdecay iqdecay deleted the vnepveu/test-abigen-functions branch February 2, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Write tests at the component-level of the abigen!
2 participants