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

Updating .tree file in adminable_unit_test #634

Conversation

ShubhSensei
Copy link

#621

  1. Updating the .tree file of transferAdmin.t.sol from folder Adminable under unit tests to make it more Understandable & Readable by using Cucumber's Gherkin syntax

  2. Gave more clarity about the 2 Admins in the 8th line from the previous file.

Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @SensationalShubham. Two change requests:

  1. Remove the "Scenario" line. BTT is inspired by Gherkin, but it is not striving to be Gherkin.
  2. Update the modifiers in transferAdmin.t.sol to match the new tree

I will also make a few wording suggestions later today.

@PaulRBerg
Copy link
Member

Also, for future PRs: could you make your branch name more specific, please? Something like test/refactor-tree-files.

@ShubhSensei
Copy link
Author

I got it, I'll name them more precisely and start making changes as you suggested.

@PaulRBerg PaulRBerg changed the base branch from main to test/improve-tree-wording July 24, 2023 10:52
@ShubhSensei ShubhSensei marked this pull request as ready for review July 28, 2023 06:40
@PaulRBerg
Copy link
Member

Closing in favor of #641, which implemented the same changes.

@PaulRBerg PaulRBerg closed this Jul 31, 2023
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.

2 participants