Skip to content

Commit 8e50d9f

Browse files
authored
Apply suggestions from code review
1 parent 456c6a9 commit 8e50d9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/proxy/utils/UUPSUpgradeable.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ contract('UUPSUpgradeable', function () {
6464
);
6565
});
6666

67-
it('calling upgradeTo from a contract that is not a proxy reverts', async function () {
67+
it('calling upgradeTo from a contract that is not an ERC1967 proxy (with the right implementation) reverts', async function () {
6868
await expectRevertCustomError(
6969
this.helper.$functionDelegateCall(
7070
this.implUpgradeOk.address,
@@ -75,7 +75,7 @@ contract('UUPSUpgradeable', function () {
7575
);
7676
});
7777

78-
it('calling upgradeToAndCall from a contract that is not a proxy reverts', async function () {
78+
it('calling upgradeToAndCall from a contract that is not n ERC1967 proxy (with the right implementation) reverts', async function () {
7979
await expectRevertCustomError(
8080
this.helper.$functionDelegateCall(
8181
this.implUpgradeOk.address,

0 commit comments

Comments
 (0)