@@ -658,7 +658,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
658658 } ) ;
659659
660660 it ( "should revert" , async ( ) => {
661- await expect ( subject ( ) ) . to . be . revertedWith ( "Must not have existing base token position " ) ;
661+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must be 0 " ) ;
662662 } ) ;
663663 } ) ;
664664
@@ -1737,7 +1737,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
17371737
17381738 describe ( "when not engaged" , async ( ) => {
17391739 it ( "should revert" , async ( ) => {
1740- await expect ( subject ( ) ) . to . be . revertedWith ( "Base asset balance must be > 0" ) ;
1740+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must NOT be 0" ) ;
17411741 } ) ;
17421742 } ) ;
17431743 } ) ;
@@ -2547,7 +2547,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
25472547
25482548 describe ( "when not engaged" , async ( ) => {
25492549 it ( "should revert" , async ( ) => {
2550- await expect ( subject ( ) ) . to . be . revertedWith ( "Base asset balance must be > 0" ) ;
2550+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must NOT be 0 asset balance must be > 0" ) ;
25512551 } ) ;
25522552 } ) ;
25532553 } ) ;
@@ -3064,7 +3064,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
30643064
30653065 describe ( "when not engaged" , async ( ) => {
30663066 it ( "should revert" , async ( ) => {
3067- await expect ( subject ( ) ) . to . be . revertedWith ( "Base asset balance must be > 0" ) ;
3067+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must NOT be 0 asset balance must be > 0" ) ;
30683068 } ) ;
30693069 } ) ;
30703070 } ) ;
@@ -3145,7 +3145,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
31453145 } ) ;
31463146
31473147 it ( "should revert" , async ( ) => {
3148- await expect ( subject ( ) ) . to . be . revertedWith ( "Base asset balance must be > 0" ) ;
3148+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must NOT be 0 asset balance must be > 0" ) ;
31493149 } ) ;
31503150 } ) ;
31513151 } ) ;
@@ -3228,7 +3228,7 @@ describe("PerpV2LeverageStrategyExtension", () => {
32283228 } ) ;
32293229
32303230 it ( "should revert" , async ( ) => {
3231- await expect ( subject ( ) ) . to . be . revertedWith ( "Base asset balance must be > 0" ) ;
3231+ await expect ( subject ( ) ) . to . be . revertedWith ( "Current leverage ratio must NOT be 0 asset balance must be > 0" ) ;
32323232 } ) ;
32333233 } ) ;
32343234 } ) ;
0 commit comments