Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
ERC20Votes
  • Loading branch information
RenanSouza2 committed Apr 15, 2023
commit bf2282842b63fb8196c49e5569fb10c946d294dd
2 changes: 1 addition & 1 deletion test/governance/utils/Votes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ contract('Votes', function (accounts) {
});
});

describe.only('performs voting workflow', function () {
describe('performs voting workflow', function () {
beforeEach(async function () {
this.chainId = await getChainId();
});
Expand Down
4 changes: 2 additions & 2 deletions test/token/ERC20/extensions/ERC20Votes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ contract('ERC20Votes', function (accounts) {

describe('getPastVotes', function () {
it('reverts if block number >= current block', async function () {
await expectRevert(this.token.getPastVotes(other1, 5e10), 'Checkpoints: block not yet mined');
await expectRevert(this.token.getPastVotes(other1, 5e10), 'Votes: block not yet mined');
});

it('returns 0 if there are no checkpoints', async function () {
Expand Down Expand Up @@ -503,7 +503,7 @@ contract('ERC20Votes', function (accounts) {
});

it('reverts if block number >= current block', async function () {
await expectRevert(this.token.getPastTotalSupply(5e10), 'Checkpoints: block not yet mined');
await expectRevert(this.token.getPastTotalSupply(5e10), 'Votes: block not yet mined');
});

it('returns 0 if there are no checkpoints', async function () {
Expand Down