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

refactor: improve test readability and general styling #97

Merged
merged 4 commits into from
Jul 9, 2024

Conversation

hexshire
Copy link
Member

@hexshire hexshire commented Jul 8, 2024

No description provided.

@hexshire hexshire self-assigned this Jul 8, 2024
0xDiscotech
0xDiscotech previously approved these changes Jul 8, 2024
@@ -380,8 +380,8 @@ contract L1OpUSDCBridgeAdapter_Unit_BurnLockedUSDC is Base {
function test_burnNotCalledIfAmountIsZero(address _circle) external {
adapter.forTest_setBurnCaller(_circle);
adapter.forTest_setMessengerStatus(IL1OpUSDCBridgeAdapter.Status.Deprecated);
adapter.forTest_setBurnAmount(0);
Copy link
Contributor

Choose a reason for hiding this comment

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

We should apply this style to the rest of our tests too, so the revert cases explicitly show what is happening, doc just used this one as an example haha

Copy link
Member Author

Choose a reason for hiding this comment

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

Ohh! Ok, this is going to take some time, thanks!

@hexshire hexshire changed the title test: improve readability refactor: improve test readability and general styling Jul 8, 2024
@excaliborr excaliborr merged commit 4bb067b into dev Jul 9, 2024
4 checks passed
@excaliborr excaliborr deleted the test/refactor branch July 9, 2024 16:08
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.

3 participants