File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,12 @@ describe('Forth', () => {
106
106
let timestamp = await forth . mintingAllowedAfter ( )
107
107
await mineBlock ( provider , timestamp . toString ( ) )
108
108
109
- await expect ( forth . connect ( other1 ) . mint ( other1 . address , 1 ) ) . to . be . revertedWith ( 'Forth::mint: only the minter can mint' )
110
- await expect ( forth . mint ( '0x0000000000000000000000000000000000000000' , 1 ) ) . to . be . revertedWith ( 'Forth::mint: cannot transfer to the zero address' )
109
+ await expect ( forth . connect ( other1 ) . mint ( other1 . address , 1 ) ) . to . be . revertedWith (
110
+ 'Forth::mint: only the minter can mint'
111
+ )
112
+ await expect ( forth . mint ( '0x0000000000000000000000000000000000000000' , 1 ) ) . to . be . revertedWith (
113
+ 'Forth::mint: cannot transfer to the zero address'
114
+ )
111
115
112
116
// can mint up to 2%
113
117
const mintCap = BigNumber . from ( await forth . mintCap ( ) )
@@ -118,6 +122,8 @@ describe('Forth', () => {
118
122
timestamp = await forth . mintingAllowedAfter ( )
119
123
await mineBlock ( provider , timestamp . toString ( ) )
120
124
// cannot mint 2.01%
121
- await expect ( forth . mint ( wallet . address , supply . mul ( mintCap . add ( 1 ) ) ) ) . to . be . revertedWith ( 'Forth::mint: exceeded mint cap' )
125
+ await expect ( forth . mint ( wallet . address , supply . mul ( mintCap . add ( 1 ) ) ) ) . to . be . revertedWith (
126
+ 'Forth::mint: exceeded mint cap'
127
+ )
122
128
} )
123
129
} )
You can’t perform that action at this time.
0 commit comments