Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Jun 16, 2023
1 parent 469a78b commit 2e958b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/proxy/utils/UUPSUpgradeable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contract('UUPSUpgradeable', function () {
this.implUpgradeOk = await UUPSUpgradeableMock.new();
this.implUpgradeUnsafe = await UUPSUpgradeableUnsafeMock.new();
this.implUpgradeNonUUPS = await NonUpgradeableMock.new();
this.impUnsupportedUUID = await UUPSUnsupportedProxiableUUID.new();
this.implUnsupportedUUID = await UUPSUnsupportedProxiableUUID.new();
});

beforeEach(async function () {
Expand Down Expand Up @@ -86,7 +86,7 @@ contract('UUPSUpgradeable', function () {

it('rejects upgrading to an unsupported UUID', async function () {
await expectRevertCustomError(
this.instance.upgradeTo(this.impUnsupportedUUID.address),
this.instance.upgradeTo(this.implUnsupportedUUID.address),
'UUPSUnsupportedProxiableUUID',
[web3.utils.keccak256('invalid UUID')],
);
Expand Down

0 comments on commit 2e958b3

Please sign in to comment.