diff --git a/libs/remix-debug/test/decoder/stateTests/revert-state-sub-call.ts b/libs/remix-debug/test/decoder/stateTests/revert-state-sub-call.ts index 7c2cc002cd..345e494a86 100644 --- a/libs/remix-debug/test/decoder/stateTests/revert-state-sub-call.ts +++ b/libs/remix-debug/test/decoder/stateTests/revert-state-sub-call.ts @@ -106,18 +106,18 @@ function testRevertStateSubCall (st, privateKey, contractAddress, output, compil // in the other sub call, the value is reverted st.equal(result['p'].value, '0') stateDecoder.decodeState(stateVars, storageViewerOtherContract3).then((result) => { - // and reset back to 234 - st.equal(result['p'].value, '234') - cb() - }, (reason) => { - console.log('fail') - st.end(reason) - }) + // and reset back to 234 + st.equal(result['p'].value, '234') + cb() + }, (reason) => { + console.log('fail') + st.end(reason) }) - }, (reason) => { - console.log('fail') - st.end(reason) }) + }, (reason) => { + console.log('fail') + st.end(reason) + }) }) }, (reason) => { console.log('fail')