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

Improve/storage variables Tests #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PublicVariable/test/PublicVariable.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract PublicVariableTest is Test {
assertEq(
publicVariable.number(),
42,
"expected publicVariable.magicNumber() to return 42"
"expected publicVariable.number() to return 42"
);
}
}
4 changes: 2 additions & 2 deletions PureVsView/test/PureVsView.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ contract PureVsViewTest is Test {
assertEq(
pureVsView.getX(),
24,
"expected (pureVsView.getX() to return 24"
"expected (pureVsView.getX()) to return 24"
);
}

function testGetY() external {
assertEq(
pureVsView.getY(),
42,
"expected (pureVsView.getY() to return 42"
"expected (pureVsView.getY()) to return 42"
);
}
}