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 ensure/ensure_eq/ensure_ne macros #1127

Merged
merged 4 commits into from
Oct 11, 2021
Merged

Add ensure/ensure_eq/ensure_ne macros #1127

merged 4 commits into from
Oct 11, 2021

Conversation

webmaster128
Copy link
Member

@webmaster128 webmaster128 commented Oct 7, 2021

Closes #1103

A variant of CosmWasm/cw-plus#474 with the following improvements:

  • precedence testing
  • ensure_ne
  • Let macros not depend on each other to avoid having to import all of them
  • Doc examples with automated testing

Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

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

Nice one.

Copy link
Contributor

@maurolacy maurolacy left a comment

Choose a reason for hiding this comment

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

Nice.

@webmaster128 webmaster128 merged commit d5ef68d into main Oct 11, 2021
@webmaster128 webmaster128 deleted the add-ensure branch October 11, 2021 07:51
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.

Add require macro
3 participants