@@ -164,19 +164,19 @@ describe('Debugging tests', () => {
164164
165165 it ( 'should log inside a loop' , async ( ) => {
166166 const transaction = new TransactionBuilder ( { provider } )
167- . addInput ( contractUtxo , contractTestLogs . unlock . test_log_inside_loop ( ) )
168- . addOutput ( { to : contractTestLogs . address , amount : 10000n } ) ;
167+ . addInput ( contractUtxo , contractTestLogInsideLoop . unlock . test_log_inside_loop ( ) )
168+ . addOutput ( { to : contractTestLogInsideLoop . address , amount : 10000n } ) ;
169169
170- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 0$' ) ) ;
171- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 1$' ) ) ;
172- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 2$' ) ) ;
173- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 3$' ) ) ;
174- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 4$' ) ) ;
175- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 5$' ) ) ;
176- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 6$' ) ) ;
177- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 7$' ) ) ;
178- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 8$' ) ) ;
179- expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:62 i: 9$' ) ) ;
170+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 0$' ) ) ;
171+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 1$' ) ) ;
172+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 2$' ) ) ;
173+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 3$' ) ) ;
174+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 4$' ) ) ;
175+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 5$' ) ) ;
176+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 6$' ) ) ;
177+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 7$' ) ) ;
178+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 8$' ) ) ;
179+ expect ( transaction ) . toLog ( new RegExp ( '^\\[Input #0] Test.cash:6 i: 9$' ) ) ;
180180 } ) ;
181181
182182 it ( 'should log inside a complex nested loop' , async ( ) => {
0 commit comments