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 a way to specify expected revert value to forc-test #3544

Closed
kayagokalp opened this issue Dec 8, 2022 · 1 comment · Fixed by #4554
Closed

Add a way to specify expected revert value to forc-test #3544

kayagokalp opened this issue Dec 8, 2022 · 1 comment · Fixed by #4554
Assignees
Labels
enhancement New feature or request forc-test Everything related to the `forc-test` lib and `forc test` command. good first issue Good for newcomers

Comments

@kayagokalp
Copy link
Member

kayagokalp commented Dec 8, 2022

Related to #3490 (review).

While implementing this we can also clean the two suggestions from:

  1. feat: #[test(should_revert)] attribute to indicate a unit test should revert #3490 (comment)
  2. feat: #[test(should_revert)] attribute to indicate a unit test should revert #3490 (comment)
@kayagokalp kayagokalp added enhancement New feature or request good first issue Good for newcomers forc-test Everything related to the `forc-test` lib and `forc test` command. labels Dec 8, 2022
@kayagokalp
Copy link
Member Author

Adding "blocked" as this requires modifying the parser too. I will open-up a separate issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc-test Everything related to the `forc-test` lib and `forc test` command. good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant